bash: set terminal window title
This commit is contained in:
parent
750cd50c3d
commit
12f9dcceb9
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ shopt -s histappend
|
|||
[[ -f $HOME/.bash_functions ]] && source "$HOME/.bash_functions"
|
||||
|
||||
# Save working dir on every prompt.
|
||||
export PROMPT_COMMAND='pwd > $HOME/.cwd'
|
||||
export PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD}\007"; pwd > $HOME/.cwd'
|
||||
export PS1="${Yellow}\d \A ${Off}${Green}\u@\h: ${Off}\w ${Red}\$(parse_branch git)${BRed}\$(parse_branch fossil)${Off}\n-$ "
|
||||
|
||||
# Use fzf if installed.
|
||||
|
|
Loading…
Reference in a new issue