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