Compare commits

..

No commits in common. "bbf21d3b21f91896c5f2ffc468f3c693dbb86755" and "3a11984112f416c075cb9e57c935a0aa03ef7369" have entirely different histories.

5 changed files with 10 additions and 34 deletions

@ -1 +1 @@
Subproject commit 3ddf1405d81861f1af4455e3716abd230b531a3f
Subproject commit c11688deafea862d1cc4cde4376f0534f54c28b7

View File

@ -21,4 +21,5 @@ status=$?
[ $status -eq 0 ] && rm ~/.cleanupResult
echo "cleaned tmp"
} #CleanTmp
}

View File

@ -1,25 +0,0 @@
tempPersist() {
ARG=$1
if [ $# -eq 0 ]; then
if [[ -f ~/tmp/KEEPTMP ]]; then
echo "Temp is persistent"
else
echo "Temp will be Deleted"
fi
else
if [[ $ARG = "on" ]]; then
touch ~/tmp/KEEPTMP
echo "Temp is persistent"
elif [[ $ARG = "off" ]]; then
if [[ -f ~/tmp/KEEPTMP ]]; then
rm ~/tmp/KEEPTMP
fi
echo "Temp will be Deleted"
else
echo "on or off only"
fi
fi
}
# vim: set ft=zsh ts=8 sw=4 tw=0 noet :

View File

@ -25,4 +25,3 @@ zle -N history-beginning-search-forward-end \
[[ -n "${key[Down]}" ]] && bindkey "${key[Down]}" down-line-or-search
[[ -n "${key[Left]}" ]] && bindkey "${key[Left]}" backward-char
[[ -n "${key[Right]}" ]] && bindkey "${key[Right]}" forward-char
# vim: set ft=zsh ts=8 sw=4 tw=0 noet :

13
zshrc
View File

@ -19,13 +19,13 @@ zmodload zsh/complist
## Source Other files
source $HOME/.profile
source ${ZDOTDIR}/aliases
source ${ZDOTDIR}/dir_aliases
source ${ZDOTDIR}/prompt
source ${ZDOTDIR}/keyboard
source ${XDG_CONFIG_HOME:-$HOME/.config}/zsh/aliases
source ${XDG_CONFIG_HOME:-$HOME/.config}/zsh/dir_aliases
source ${XDG_CONFIG_HOME:-$HOME/.config}/zsh/prompt
source ${XDG_CONFIG_HOME:-$HOME/.config}/zsh/keyboard
## Source Functions
source ${ZDOTDIR}/functions/*
source ${XDG_CONFIG_HOME:-$HOME/.config}/zsh/functions/*
## Set option
setopt emacs ## Emacs style keybinds
@ -60,9 +60,10 @@ zle -N edit-command-line
bindkey "^X^E" edit-command-line
## Enable gpg-agent support
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
gpgconf --launch gpg-agent
gpg-connect-agent /bye
gpg-gpg-connect-agent /bye
export GPG_TTY=$(tty)
## Load external stuff