update .zshrc

This commit is contained in:
Luddifee 2021-04-30 15:59:01 +02:00
parent 1cbcb9f17f
commit 948993e6a2
No known key found for this signature in database
GPG Key ID: 72D37442F5AD2232
2 changed files with 10 additions and 12 deletions

22
.zshrc
View File

@ -45,8 +45,16 @@ alias pacman="sudo pacman --color auto"
alias emacs="emacs -nw" alias emacs="emacs -nw"
function gcm() { git add .; git commit -m "$1"; } function gc() {
alias gcm=gcm git add .
tmp=$(git config user.signingkey)
if [ {$tmp} > 2 ] ; then
git commit -S -m "$1"
else
git commit -m "$1"
fi
}
alias gc=gc
alias gp="git push" alias gp="git push"
alias gl="git pull" alias gl="git pull"
alias gcl="git clone" alias gcl="git clone"
@ -57,13 +65,3 @@ alias weather=weather
bindkey "^[[1;5C" forward-word bindkey "^[[1;5C" forward-word
bindkey "^[[1;5D" backward-word bindkey "^[[1;5D" backward-word
# Use powerline
#USE_POWERLINE="true"
# Source manjaro-zsh-configuration
#if [[ -e /usr/share/zsh/manjaro-zsh-config ]]; then
# source /usr/share/zsh/manjaro-zsh-config
#fi
# Use manjaro zsh prompt
#if [[ -e /usr/share/zsh/manjaro-zsh-prompt ]]; then
# source /usr/share/zsh/manjaro-zsh-prompt
#fi

0
3 Normal file
View File