From 015a666eea4d0f6304daa0f9ca6724b67862b35c Mon Sep 17 00:00:00 2001 From: Luddifee Date: Fri, 16 Apr 2021 20:06:10 +0200 Subject: [PATCH] update .zshrc --- .zshrc | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.zshrc b/.zshrc index 813db5f..6b2ff0c 100644 --- a/.zshrc +++ b/.zshrc @@ -17,6 +17,8 @@ setopt correct setopt extendedglob setopt appendhistory setopt inc_append_history +setopt histignoredups + autoload -Uz vcs_info @@ -41,9 +43,18 @@ alias wget="wget -c" alias pacman="sudo pacman --color auto" +function gcm() { git add .; git commit -m "$1"; } +alias gcm=gcm +alias gp="git push" +alias gl="git pull" +alias gcl="git clone" + function weather() { curl "wttr.in/$1"; } alias weather=weather +bindkey "^[[1;5C" forward-word +bindkey "^[[1;5D" backward-word + # Use powerline #USE_POWERLINE="true" # Source manjaro-zsh-configuration