Set a POSIX-compatible prompt if not bash or zsh
This commit is contained in:
parent
8c44a70500
commit
3e6d660ba1
1 changed files with 3 additions and 0 deletions
|
@ -91,6 +91,9 @@ then
|
|||
bindkey "^[OB" history-beginning-search-forward
|
||||
PS1="%B%n@%m%#%b "
|
||||
|
||||
else
|
||||
# POSIX-compatible prompt.
|
||||
PS1="$(id -un)@$(uname -n | sed 's/\..*$//')$ "
|
||||
fi
|
||||
|
||||
_acp_add_path () {
|
||||
|
|
Loading…
Reference in a new issue