Add prefix helper for zsh

This commit is contained in:
Valentin Gehrke 2018-01-22 14:26:49 +01:00
parent 8effc5ec88
commit 0ef896007b

View file

@ -35,3 +35,7 @@ ssh-fingerprint() {
ssh-keygen -lf <(ssh-keyscan -p $PORT $SERVER 2>/dev/null) ssh-keygen -lf <(ssh-keyscan -p $PORT $SERVER 2>/dev/null)
} }
prefix() {
export PROMPT="($1)$PROMPT"
}