ohmyzsh/plugins/fasd/fasd.plugin.zsh
2012-12-08 19:11:37 +01:00

10 lines
No EOL
286 B
Bash

if [ $commands[fasd] ]; then # check if fasd is installed
eval "$(fasd --init auto)"
alias v='f -e vim'
if [[ $('uname') == 'Linux' ]] && [[ -e $( which xdg-open 2>&1 ) ]]; then
alias o='a -e xdg-open'
elif [[ $('uname') == 'Darwin' ]]; then
alias o='a -e open'
fi
fi