1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-12-23 21:01:58 +00:00

common-aliases: minor style fixes

This commit is contained in:
Marc Cornellà 2016-11-02 11:03:47 +01:00
parent fc4e0cd7ba
commit cb26c2f614

View file

@ -56,17 +56,17 @@ if is-at-least 4.2.0; then
# open browser on urls
if [[ -n "$BROWSER" ]]; then
_browser_fts=(htm html de org net com at cx nl se dk dk)
for ft in $_browser_fts ; do alias -s $ft=$BROWSER ; done
for ft in $_browser_fts; do alias -s $ft=$BROWSER; done
fi
_editor_fts=(cpp cxx cc c hh h inl asc txt TXT tex)
for ft in $_editor_fts ; do alias -s $ft=$EDITOR ; done
for ft in $_editor_fts; do alias -s $ft=$EDITOR; done
_image_fts=(jpg jpeg png gif mng tiff tif xpm)
for ft in $_image_fts ; do alias -s $ft=$XIVIEWER; done
for ft in $_image_fts; do alias -s $ft=$XIVIEWER; done
_media_fts=(ape avi flv m4a mkv mov mp3 mpeg mpg ogg ogm rm wav webm)
for ft in $_media_fts ; do alias -s $ft=mplayer ; done
for ft in $_media_fts; do alias -s $ft=mplayer; done
#read documents
alias -s pdf=acroread