diff --git a/zsh/.zsh/10-helpers.zsh b/zsh/.zsh/10-helpers.zsh index f094a06..7104abc 100644 --- a/zsh/.zsh/10-helpers.zsh +++ b/zsh/.zsh/10-helpers.zsh @@ -36,6 +36,7 @@ ssh-fingerprint() { ssh-keygen -lf <(ssh-keyscan -p $PORT $SERVER 2>/dev/null) } +SAVEDPROMPT="$PROMPT" prefix() { - export PROMPT="($1)$PROMPT" + export PROMPT="($1)$SAVEDPROMPT" }