diff options
author | zachir <zachir@librem.one> | 2023-02-10 12:32:43 -0600 |
---|---|---|
committer | zachir <zachir@librem.one> | 2023-02-10 12:32:43 -0600 |
commit | 5e74241bb8b2a672a7adcc4a8b6e1dea03f2f5a2 (patch) | |
tree | 24768273a6578345dfe530918c54c86db90a3e11 /kshrc | |
parent | 7a2dd5235800003487d43c57d1b76847c692bce4 (diff) |
remove unnecessary cruftminor
Diffstat (limited to 'kshrc')
-rw-r--r-- | kshrc | 40 |
1 files changed, 0 insertions, 40 deletions
@@ -1,40 +0,0 @@ -# zachir's ksh config - -[ -f /etc/ksh.kshrc ] && . /etc/ksh.kshrc - -[ -f $HOME/.config/sh/aliases ] && . $HOME/.config/sh/aliases -[ -f $HOME/.config/sh/functions ] && . $HOME/.config/sh/functions - -alias e='. $ENV' - -RED="\033[1;31m" -GRE="\033[1;32m" -YEL="\033[1;33m" -BLU="\033[1;34m" -PUR="\033[1;35m" -CYA="\033[1;36m" -CLR="\033[1;0m" - -[ -f "$XDG_CONFIG_HOME"/sh/aliases ] && . "$XDG_CONFIG_HOME"/sh/aliases -[ -f "$XDG_CONFIG_HOME"/sh/functions ] && . "$XDG_CONFIG_HOME"/sh/functions - -case "$-" in -*i*) # we are interactive - # we may have su'ed so reset these - HOSTNAME=${HOSTNAME:-$(uname -n)} - HOST=${HOSTNAME%%.*} - - #PROMPT="$USER:!$PS1S" - #PROMPT="<$USER@$HOST:!>$PS1S" - case "$USER" in - "root") COLOR='\e[1;31m' ;; - "git") COLOR='\e[1;32m' ;; - "zachir") COLOR='\e[1;36m' ;; - esac - PROMPT="$COLOR"'[\u@\h]:\e[0m\w'"$COLOR"'\$ \e[0m' - PS1=$PROMPT - - set -o vi - -;; -esac |