Last active
March 15, 2023 02:42
-
-
Save woohooyeah/3ddee210310528fc8912 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# dot.kshrc | |
. /etc/ksh.kshrc | |
case $TERM in | |
screen-256color|xterm*) | |
HOST=`hostname` | |
HOST=${HOST%%.*} | |
PS1='\[\033[0;31m\]${USER}\[\033[0m\]@\[\033[0;32m\]${HOST}\[\033[0m\] \[\033[0;36m\]${PWD##${HOME}/}\[\033[0m\] \$ ' | |
;; | |
*) | |
PS1='\u@\h \w \$ ' | |
;; | |
esac |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment