Compare commits

..

3 Commits

Author SHA1 Message Date
Robert Morrison
4970349c55
bugfix - load functions
Load functions by manipulating fpath
2022-02-20 01:40:09 +00:00
Robert Morrison
70822b11da
Update zshPlug to working version 2022-02-20 01:27:08 +00:00
Robert Morrison
acea2aed2c
Pull fixed zshPlug 2022-02-20 00:58:01 +00:00
4 changed files with 17 additions and 3 deletions

@ -1 +1 @@
Subproject commit 3ddf1405d81861f1af4455e3716abd230b531a3f
Subproject commit 89c2d21b8d75048d29ea1528d33d3ee1ddbd86a1

View File

@ -22,3 +22,4 @@ status=$?
echo "cleaned tmp"
} #CleanTmp
# vim: set ft=zsh ts=8 sw=4 tw=0 noet :

9
functions/setTermTitle Normal file
View File

@ -0,0 +1,9 @@
setTermTitle() {
Terminal=$(echo $TERM | cut -d'-' -f1 )
[[ -z $1 ]] && Title="$Terminal" || Title="$Terminal - $1"
echo -e -n '\e]2;'"$Title"'\a'
}
# vim: set ft=zsh ts=8 sw=4 tw=0 noet :

8
zshrc
View File

@ -17,6 +17,12 @@ autoload -U edit-command-line
## zmodload Modules
zmodload zsh/complist
## Loca my function
fpath=( $ZDOTDIR/functions $fpath )
autoload CleanTmp
autoload setTermTitle
autoload tempPersist
## Source Other files
source $HOME/.profile
source ${ZDOTDIR}/aliases
@ -24,8 +30,6 @@ source ${ZDOTDIR}/dir_aliases
source ${ZDOTDIR}/prompt
source ${ZDOTDIR}/keyboard
## Source Functions
source ${ZDOTDIR}/functions/*
## Set option
setopt emacs ## Emacs style keybinds