Fix PS1
This commit is contained in:
parent
7346394acc
commit
ef143c2bf4
2 changed files with 3 additions and 0 deletions
|
@ -73,6 +73,7 @@ export EDITOR=vi
|
|||
export HISTCONTROL=ignorespace:ignoredups
|
||||
export PAPERSIZE=a4
|
||||
export POWERSHELL_TELEMETRY_OPTOUT=1
|
||||
export PS1="${PS1:-\$\ }"
|
||||
export PYTHONWARNINGS=ignore::UserWarning
|
||||
|
||||
if [ "$(uname -s)" = Darwin ]
|
||||
|
|
|
@ -15,6 +15,8 @@ bindkey "^[[B" history-beginning-search-forward-end
|
|||
bindkey "^[OA" history-beginning-search-backward-end
|
||||
bindkey "^[OB" history-beginning-search-forward-end
|
||||
|
||||
export PS1="%B%n@%m%#%b "
|
||||
|
||||
if [ -e "$HOME/.shrc" ]
|
||||
then
|
||||
emulate sh -c '. "$HOME/.shrc"'
|
||||
|
|
Loading…
Reference in a new issue