mirror of
https://github.com/kogakure/dotfiles.git
synced 2026-02-03 12:15:29 +00:00
chore(zsh): add more aliases
This commit is contained in:
6
zshrc
6
zshrc
@@ -97,6 +97,10 @@ export FZF_ALT_C_OPTS="--preview 'tree -C {} | head -50'"
|
|||||||
# }}}
|
# }}}
|
||||||
# {{{ *** *** Aliases *** ***
|
# {{{ *** *** Aliases *** ***
|
||||||
|
|
||||||
|
# ZSH
|
||||||
|
alias zshconfig="vim $HOME/.zshrc"
|
||||||
|
alias reload="source $HOME/.zshrc"
|
||||||
|
|
||||||
# Folders
|
# Folders
|
||||||
alias ...='cd ../..'
|
alias ...='cd ../..'
|
||||||
alias ..='cd ..'
|
alias ..='cd ..'
|
||||||
@@ -146,6 +150,8 @@ alias gwp='git whatchanged -p'
|
|||||||
alias lg='lazygit'
|
alias lg='lazygit'
|
||||||
|
|
||||||
# Vim
|
# Vim
|
||||||
|
alias v='vim'
|
||||||
|
|
||||||
if type nvim > /dev/null 2>&1; then
|
if type nvim > /dev/null 2>&1; then
|
||||||
alias vim='nvim'
|
alias vim='nvim'
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user