aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Tay <nkt@outlook.kr>2021-04-09 18:22:31 +1000
committerNicholas Tay <nkt@outlook.kr>2021-04-09 18:22:31 +1000
commit5711259e1a74bd7ede2d721922d762938de3e795 (patch)
treebec86a7a0742a562bfcbc80860d570940dd46688
parented2b0275fc981799976fa5343620c06264a76969 (diff)
downloaddotlite-5711259e1a74bd7ede2d721922d762938de3e795.tar.gz
dotlite-5711259e1a74bd7ede2d721922d762938de3e795.tar.bz2
dotlite-5711259e1a74bd7ede2d721922d762938de3e795.zip
bash/zsh >> prompt broke
-rw-r--r--.bashrc2
-rw-r--r--.zshrc2
2 files changed, 2 insertions, 2 deletions
diff --git a/.bashrc b/.bashrc
index 1678c21..4f2ca54 100644
--- a/.bashrc
+++ b/.bashrc
@@ -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"
diff --git a/.zshrc b/.zshrc
index 3607e25..0a1ca9e 100644
--- a/.zshrc
+++ b/.zshrc
@@ -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"