Added optional fasd command

This commit is contained in:
Austen Adler 2016-07-18 19:54:00 -04:00
parent 7f653aab9a
commit 8a2e0e74bb
No known key found for this signature in database
GPG Key ID: 7ECEE590CCDFE3F1
2 changed files with 8 additions and 0 deletions

5
scripts/fasd.sh Executable file
View File

@ -0,0 +1,5 @@
#!/bin/sh
git clone https://github.com/clvv/fasd /tmp/fasd
\cd /tmp/fasd
sudo make install
\cd -

View File

@ -438,6 +438,9 @@ k(){
(( $+TMUX )) && unset zle_bracketed_paste
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
if command -v fasd 2>&1 >/dev/null; then
eval "$(fasd --init auto)"
fi
#Old config options that are no longer in use
#alias pg="pcregrep -M"