update .zshrc
This commit is contained in:
parent
d84bf84951
commit
015a666eea
11
.zshrc
11
.zshrc
@ -17,6 +17,8 @@ setopt correct
|
|||||||
setopt extendedglob
|
setopt extendedglob
|
||||||
setopt appendhistory
|
setopt appendhistory
|
||||||
setopt inc_append_history
|
setopt inc_append_history
|
||||||
|
setopt histignoredups
|
||||||
|
|
||||||
|
|
||||||
autoload -Uz vcs_info
|
autoload -Uz vcs_info
|
||||||
|
|
||||||
@ -41,9 +43,18 @@ alias wget="wget -c"
|
|||||||
|
|
||||||
alias pacman="sudo pacman --color auto"
|
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"; }
|
function weather() { curl "wttr.in/$1"; }
|
||||||
alias weather=weather
|
alias weather=weather
|
||||||
|
|
||||||
|
bindkey "^[[1;5C" forward-word
|
||||||
|
bindkey "^[[1;5D" backward-word
|
||||||
|
|
||||||
# Use powerline
|
# Use powerline
|
||||||
#USE_POWERLINE="true"
|
#USE_POWERLINE="true"
|
||||||
# Source manjaro-zsh-configuration
|
# Source manjaro-zsh-configuration
|
||||||
|
Loading…
x
Reference in New Issue
Block a user