update .zshrc (contains errors)

This commit is contained in:
Luddifee 2021-05-07 13:27:10 +02:00
parent 79da8cc6c2
commit 9b7fe7a172
No known key found for this signature in database
GPG Key ID: 72D37442F5AD2232

8
.zshrc
View File

@ -54,13 +54,17 @@ function gc() {
git commit -m "$1" git commit -m "$1"
fi 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"
function glcp() {
git pull;
git commit -m "$1";
git push;
}
function weather() { curl "wttr.in/$1"; } function weather() { curl "wttr.in/$1"; }
alias weather=weather
bindkey "^[[1;5C" forward-word bindkey "^[[1;5C" forward-word
bindkey "^[[1;5D" backward-word bindkey "^[[1;5D" backward-word