bashrc: Merge-in new system file
This commit is contained in:
3
bashrc
3
bashrc
@@ -19,8 +19,6 @@ if [ -z "$BASHRCSOURCED" ]; then
|
||||
xterm*|vte*)
|
||||
if [ -e /etc/sysconfig/bash-prompt-xterm ]; then
|
||||
PROMPT_COMMAND=/etc/sysconfig/bash-prompt-xterm
|
||||
elif [ "${VTE_VERSION:-0}" -ge 3405 ]; then
|
||||
PROMPT_COMMAND="__vte_prompt_command"
|
||||
else
|
||||
PROMPT_COMMAND='printf "\033]0;%s@%s:%s\007" "${USER}" "${HOSTNAME%%.*}" "${PWD/#$HOME/\~}"'
|
||||
fi
|
||||
@@ -39,7 +37,6 @@ if [ -z "$BASHRCSOURCED" ]; then
|
||||
fi
|
||||
# Turn on parallel history
|
||||
shopt -s histappend
|
||||
history -a
|
||||
# Turn on checkwinsize
|
||||
shopt -s checkwinsize
|
||||
[ "$PS1" = "\\s-\\v\\\$ " ] && PS1="[\u@\h \W]\\$ "
|
||||
|
||||
Reference in New Issue
Block a user