summaryrefslogtreecommitdiff
path: root/zsh
diff options
context:
space:
mode:
Diffstat (limited to 'zsh')
-rw-r--r--zsh/.zsh/.zshrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/zsh/.zsh/.zshrc b/zsh/.zsh/.zshrc
index 07009b8..0728e57 100644
--- a/zsh/.zsh/.zshrc
+++ b/zsh/.zsh/.zshrc
@@ -37,7 +37,11 @@ fi
# }}}
## Overwrite default options {{{
+if [[ -n $SSH_CLIENT ]]; then
+PROMPT='%F{red}[%M]%f %0~ $ '
+else
PROMPT='%0~ $ '
+fi
# Options
unsetopt histverify