mirror of
https://github.com/tomru/DotfilesOld.git
synced 2026-03-04 15:07:23 +01:00
add fasd
This commit is contained in:
9
zshrc
9
zshrc
@@ -31,6 +31,8 @@ _zilsh_init "~/.zsh/bundle/"
|
|||||||
PATH="$PATH:$HOME/local/bin"
|
PATH="$PATH:$HOME/local/bin"
|
||||||
EDITOR="vim"
|
EDITOR="vim"
|
||||||
|
|
||||||
|
# turn of autocorrection
|
||||||
|
unsetopt correct_all
|
||||||
|
|
||||||
#################################
|
#################################
|
||||||
## Custom Functions And Aliases
|
## Custom Functions And Aliases
|
||||||
@@ -120,3 +122,10 @@ bindkey '^H' backward-delete-char
|
|||||||
# Source Node Version Manager, if installed.
|
# Source Node Version Manager, if installed.
|
||||||
source ~/.nvm/nvm.sh
|
source ~/.nvm/nvm.sh
|
||||||
|
|
||||||
|
# https://github.com/clvv/fasd
|
||||||
|
if command -v fasd >/dev/null 2>&1 ; then
|
||||||
|
eval "$(fasd --init auto)"
|
||||||
|
alias v='f -e vim' # quick opening files with vim
|
||||||
|
alias m='f -e mplayer' # quick opening files with mplayer
|
||||||
|
alias o='a -e xdg-open' # quick opening files with xdg-open
|
||||||
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user