mirror of
https://github.com/NaomiAmethyst/dots.git
synced 2025-04-13 09:30:06 +00:00
bug fix for title_prompt in bash, use proper globs
This commit is contained in:
parent
a81da74751
commit
73028838e8
1 changed files with 2 additions and 2 deletions
|
@ -12,12 +12,12 @@ function do_prompt ()
|
|||
fi
|
||||
export PS1="\[\033[01;32m\]\u@\h \[\033[01;34m\]\w ${ERROR_PROMPT}${BASE} \[\033[00m\]"
|
||||
|
||||
[[ $TERM != "cons*" ]] && [[ $TERM != "linux" ]] &&
|
||||
[[ $TERM != cons* ]] && [ $TERM != linux ] &&
|
||||
echo -ne "\033]0;${USER}@${HOSTNAME}\007"
|
||||
}
|
||||
|
||||
|
||||
PROMPT_COMMAND=do_prompt
|
||||
|
||||
[[ $TERM != "cons*" ]] && [[ $TERM != "linux" ]] &&
|
||||
[[ $TERM != cons* ]] && [ $TERM != linux ] &&
|
||||
trap 'echo -e "\e]1;${USER}@${HOSTNAME}: $BASH_COMMAND\007\c"' DEBUG
|
||||
|
|
Loading…
Add table
Reference in a new issue