Set a POSIX-compatible prompt if not bash or zsh

This commit is contained in:
Anthony Rose 2022-09-15 22:29:18 +01:00
parent 8c44a70500
commit 3e6d660ba1

View file

@ -91,6 +91,9 @@ then
bindkey "^[OB" history-beginning-search-forward bindkey "^[OB" history-beginning-search-forward
PS1="%B%n@%m%#%b " PS1="%B%n@%m%#%b "
else
# POSIX-compatible prompt.
PS1="$(id -un)@$(uname -n | sed 's/\..*$//')$ "
fi fi
_acp_add_path () { _acp_add_path () {