diff options
-rw-r--r-- | lib/common.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/common.nix b/lib/common.nix index ee0fdf5..e49b0ee 100644 --- a/lib/common.nix +++ b/lib/common.nix @@ -201,8 +201,8 @@ in function regex { gawk 'match($0,/'$1'/, ary) {print ary['\$\{2:-'0'}']}'; } - # my prompt, after much chagrin - export PS1="\n\[\e[34m\][\u@\h:\w]\[\e[m\] \$(date +%Y.%m.%d..%H.%M) \$(if [ \$? == 0 ]; then true; else echo \(\$?\); fi) \n$ " + + export PS1='\n$(printf "%3.*s" $r $r)> ' # kill a process with fzf fkill() { |