Add prefix helper for zsh
This commit is contained in:
parent
8effc5ec88
commit
0ef896007b
1 changed files with 4 additions and 0 deletions
|
@ -35,3 +35,7 @@ ssh-fingerprint() {
|
|||
|
||||
ssh-keygen -lf <(ssh-keyscan -p $PORT $SERVER 2>/dev/null)
|
||||
}
|
||||
|
||||
prefix() {
|
||||
export PROMPT="($1)$PROMPT"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue