Ditch fasd, use fzf now

main
Steffen Rademacker 8 years ago
parent d9657da24e
commit 51fdc66947

@ -16,13 +16,16 @@ export PATH=/usr/local/bin:/usr/local/sbin:$PATH
# install some neccessary brew packages
brew install clipper
brew install fasd
brew install fzf
brew install git
brew install koekeishiya/kwm/kwm
brew install koekeishiya/khd/khd
brew install tmux
brew install zsh
# install fzf
/usr/local/opt/fzf/install
# install macvim and neobundle for vim
brew install macvim --with-cscope --with-lua --HEAD
mkdir ~/.vim/bundle
@ -31,6 +34,7 @@ git clone https://github.com/Shougo/neobundle.vim ~/.vim/bundle/neobundle.vim
# this is the minimal software used
brew cask install forklift
brew cask install hyper
brew cask install iterm2
brew cask install owncloud
# add a nice font

@ -14,16 +14,6 @@ alias ....='cd ../../..'
alias .....='cd ../../../..'
alias q='exit'
# fasd
alias a='fasd -a' # any
alias s='fasd -si' # show / search / select
alias d='fasd -d' # directory
alias f='fasd -f' # file
alias sd='fasd -sid' # interactive directory selection
alias sf='fasd -sif' # interactive file selection
alias z='fasd_cd -d' # cd, same functionality as j in autojump
alias zz='fasd_cd -d -i' # cd with interactive selection
# suffix-aliases for file-types (zsh only)
alias -s css=vim
alias -s scss=vim

17
zshrc

@ -5,7 +5,7 @@ done
unset file
# a nice prompt
autoload -U promptinit && promptinit
autoload -U promptinit; promptinit
prompt pure
# completions
@ -64,12 +64,21 @@ source $HOME/dotfiles/zsh/zsh-completions/zsh-completions.plugin.zsh
export CLICOLOR=1
export LSCOLORS=gxBxhxDxfxhxhxhxhxcxcx
# fasd
eval "$(fasd --init auto)"
# nvm
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm
# rbenv
eval "$(rbenv init -)"
# fzf
if [[ ! "$PATH" == */usr/local/opt/fzf/bin* ]]; then
export PATH="$PATH:/usr/local/opt/fzf/bin"
fi
if [[ ! "$MANPATH" == */usr/local/opt/fzf/man* && -d "/usr/local/opt/fzf/man" ]]; then
export MANPATH="$MANPATH:/usr/local/opt/fzf/man"
fi
[[ $- == *i* ]] && source "/usr/local/opt/fzf/shell/completion.zsh" 2> /dev/null
source "/usr/local/opt/fzf/shell/key-bindings.zsh"

Loading…
Cancel
Save