Improve prefix helper
This commit is contained in:
parent
0ef896007b
commit
490823ee10
1 changed files with 2 additions and 1 deletions
|
@ -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"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue