mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-03-27 03:14:56 +01:00
Merge de36883b97 into 3d5b3430fd
This commit is contained in:
commit
65c9d6c97a
1 changed files with 6 additions and 2 deletions
|
|
@ -6,6 +6,10 @@ if [ $commands[fasd] ]; then # check if fasd is installed
|
|||
source "$fasd_cache"
|
||||
unset fasd_cache
|
||||
alias v='f -e vim'
|
||||
alias o='a -e open'
|
||||
fi
|
||||
|
||||
if [[ $('uname') == 'Linux' ]] && [ $commands[xdg-open] ]; then
|
||||
alias o='a -e xdg-open'
|
||||
elif [[ $('uname') == 'Darwin' ]]; then
|
||||
alias o='a -e open'
|
||||
fi
|
||||
fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue