diff --git a/my_home/.kshrc b/my_home/.kshrc index 32e9c83..bc6dfea 100644 --- a/my_home/.kshrc +++ b/my_home/.kshrc @@ -1,5 +1,3 @@ -PS1="$USER:!$ " - if [ -x /usr/games/fortune ]; then echo /usr/games/fortune @@ -19,6 +17,7 @@ alias p='cat' alias n='cat -n' # exports +export PS1='$USER:/${PWD#/}:!$ ' export EDITOR='mg' export PATH="$HOME/bin:$PATH" export HISTFILE="$HOME/.sh_history"