summaryrefslogtreecommitdiffstats
path: root/nin
diff options
context:
space:
mode:
authornin <nineinchnade@gmail.com>2017-01-15 19:56:17 +0100
committerlassulus <lass@lassul.us>2017-01-15 20:07:39 +0100
commit920c79eb9eb5bb94f55d394f40a909c49448b3e6 (patch)
treeb072648b2cc86d77557a3e5ce4bfaebbc45adc52 /nin
parentd099a4f6ac4ce7d57893758dde0edcda845fed9c (diff)
n 2: set PS1 to full path
Diffstat (limited to 'nin')
-rw-r--r--nin/2configs/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/nin/2configs/default.nix b/nin/2configs/default.nix
index c71d02ada..2e6fc88b8 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"