diff options
author | nin <nineinchnade@gmail.com> | 2017-01-15 19:56:17 +0100 |
---|---|---|
committer | nin <nineinchnade@gmail.com> | 2017-01-15 19:56:17 +0100 |
commit | 00b63bb2a2156cceef3601dfb12d0837f4c64f3c (patch) | |
tree | 0f7b304ad281c57956c7bb557ea430e1dbb701b6 /nin/2configs | |
parent | c9b22d2d7911f5c01dd6cddd29ec30ee80f3c928 (diff) |
n 2: set PS1 to full path
Diffstat (limited to 'nin/2configs')
-rw-r--r-- | nin/2configs/default.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nin/2configs/default.nix b/nin/2configs/default.nix index bb7bba4..8ea9e49 100644 --- a/nin/2configs/default.nix +++ b/nin/2configs/default.nix @@ -113,11 +113,11 @@ with import <stockholm/lib>; ''; promptInit = '' if test $UID = 0; then - PS1='\[\033[1;31m\]\w\[\033[0m\] ' + PS1='\[\033[1;31m\]$PWD\[\033[0m\] ' elif test $UID = 1337; then - PS1='\[\033[1;32m\]\w\[\033[0m\] ' + PS1='\[\033[1;32m\]$PWD\[\033[0m\] ' else - PS1='\[\033[1;33m\]\u@\w\[\033[0m\] ' + PS1='\[\033[1;33m\]\u@$PWD\[\033[0m\] ' fi if test -n "$SSH_CLIENT"; then PS1='\[\033[35m\]\h'" $PS1" |