Removing functions to pretty the active command.

Was causing trouble with some in-built string functions
This commit is contained in:
Andrew Davidson 2021-08-21 07:21:00 -07:00
parent f474b7c061
commit 834562fa82
Signed by: amd
GPG key ID: 17AF8F2A49CF25C6

View file

@ -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
#}