commit a09814f7987a4be9fa9080e9f974660aed30044e parent 3c3f291931851fcadb0922c5eb0ed6e4f64f77c0 Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Wed, 13 Nov 2019 16:03:18 +0100 Use minimal PS1 Diffstat:
M | .kshrc | | | 3 | ++- |
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/.kshrc b/.kshrc @@ -5,4 +5,5 @@ set -o vi HOSTNAME=${HOSTNAME:-$(uname -n)} HOST=${HOSTNAME%%.*} -export PS1="[32m\$(id -un)@${HOST} [34m\$( echo \$PWD | sed 's|$HOME|~|')[00m \$( if [ \$(id -u) -gt 0 ]; then print \$; else print \#; fi) " +#export PS1="[32m\$(id -un)@${HOST} [34m\$( echo \$PWD | sed 's|$HOME|~|')[00m \$( if [ \$(id -u) -gt 0 ]; then print \$; else print \#; fi) " +export PS1="\w \\$ "