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