Initialize configurations

This commit is contained in:
Arnie
2025-01-03 21:06:04 +01:00
commit a6999d5663
25 changed files with 1288 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
function precmd {
# vcs_info
# Put the string "hostname::/full/directory/path" in the title bar:
echo -ne "\e]2;$PWD\a"
# Put the parentdir/currentdir in the tab
echo -ne "\e]1;$PWD:h:t/$PWD:t\a"
}
function set_running_app {
#print "\e]1; $PWD:t:$(history $HISTCMD | cut -b7- ) \a"
print -Pn $'\e]1; $PWD:t:$(history $HISTCMD | cut -b7- ) \a'
}
function preexec {
set_running_app
}
function postexec {
set_running_app
}