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 | c25ea177769cec429b8e4d0b021cd2fc39bab21a (patch) | |
tree | 8a7f1f402feed7d48dbcc7e0453273c715aa8370 /nin/2configs | |
parent | ed8281aaf5ff94223b1773f5da483f893a70026c (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 bb7bba424..8ea9e49d8 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" |