mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-09 02:24:03 +01:00
10 lines
No EOL
276 B
Bash
10 lines
No EOL
276 B
Bash
if [ $commands[fasd] ]; then # check if fasd is installed
|
|
eval "$(fasd --init auto)"
|
|
alias v='f -e vim'
|
|
|
|
if [[ $('uname') == 'Linux' ]] && [ $commands[xdg-open] ]; then
|
|
alias o='a -e xdg-open'
|
|
elif [[ $('uname') == 'Darwin' ]]; then
|
|
alias o='a -e open'
|
|
fi
|
|
fi |