diff options
author | Nicholas Tay <nkt@outlook.kr> | 2021-04-09 18:22:31 +1000 |
---|---|---|
committer | Nicholas Tay <nkt@outlook.kr> | 2021-04-09 18:22:31 +1000 |
commit | 5711259e1a74bd7ede2d721922d762938de3e795 (patch) | |
tree | bec86a7a0742a562bfcbc80860d570940dd46688 | |
parent | ed2b0275fc981799976fa5343620c06264a76969 (diff) | |
download | dotlite-5711259e1a74bd7ede2d721922d762938de3e795.tar.gz dotlite-5711259e1a74bd7ede2d721922d762938de3e795.tar.bz2 dotlite-5711259e1a74bd7ede2d721922d762938de3e795.zip |
bash/zsh >> prompt broke
Diffstat (limited to '')
-rw-r--r-- | .bashrc | 2 | ||||
-rw-r--r-- | .zshrc | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -5,7 +5,7 @@ [[ $- != *i* ]] && return # Our prompt (user@computer: >>) -PS1="\[\033[38;5;14m\]\u\[$(tput sgr0)\]\[\033[38;5;243m\]@\[$(tput sgr0)\]\[\033[38;5;194m\]\h\[$(tput sgr0)\]\[\033[38;5;243m\]:\[$(tput sgr0)\]\[\033[38;5;15m\]\w \[$(tput sgr0)\]" +PS1="\[\033[38;5;14m\]\u\[$(tput sgr0)\]\[\033[38;5;243m\]@\[$(tput sgr0)\]\[\033[38;5;194m\]\h\[$(tput sgr0)\]\[\033[38;5;243m\]:\[$(tput sgr0)\]\[\033[38;5;15m\]\w » \[$(tput sgr0)\]" [ ! -z "$SSH_CLIENT" ] && PS1="(SSH) $PS1" @@ -1,7 +1,7 @@ # Nick's light .zshrc # Setup the prompt (PS1) -PS1="%F{015}%n%f%F{243}@%f%F{176}%m%f%F{243}:%f%(5~|%-1~//%3~|%4~) " +PS1="%F{015}%n%f%F{243}@%f%F{176}%m%f%F{243}:%f%(5~|%-1~//%3~|%4~) » " [ "$TERM" = "linux" ] && PS1="%F{cyan}%n%f%F{white}@%f%F{magenta}%m%f%F{white}:%f%(5~|%-1~//%3~|%4~)$ " [ ! -z $SSH_CLIENT ] && PS1="(SSH) $PS1" |