Removing functions to pretty the active command.
Was causing trouble with some in-built string functions
This commit is contained in:
parent
f474b7c061
commit
834562fa82
1 changed files with 11 additions and 11 deletions
|
@ -7,14 +7,14 @@ function precmd {
|
|||
echo -ne "\e]1;$PWD:h:t/$PWD:t\a"
|
||||
}
|
||||
|
||||
function set_running_app {
|
||||
printf "\e]1; $PWD:t:$(history $HISTCMD | cut -b7- ) \a"
|
||||
}
|
||||
|
||||
function preexec {
|
||||
set_running_app
|
||||
}
|
||||
|
||||
function postexec {
|
||||
set_running_app
|
||||
}
|
||||
#function set_running_app {
|
||||
# printf "\e]1; $PWD:t:$(history $HISTCMD | cut -b7- ) \a"
|
||||
#}
|
||||
#
|
||||
#function preexec {
|
||||
# set_running_app
|
||||
#}
|
||||
#
|
||||
#function postexec {
|
||||
# set_running_app
|
||||
#}
|
||||
|
|
Loading…
Reference in a new issue