commit
e57787bead
@ -54,17 +54,19 @@ alias mv='mv -i'
|
|||||||
# depends on the SUFFIX :)
|
# depends on the SUFFIX :)
|
||||||
if is-at-least 4.2.0; then
|
if is-at-least 4.2.0; then
|
||||||
# open browser on urls
|
# open browser on urls
|
||||||
_browser_fts=(htm html de org net com at cx nl se dk dk php)
|
if [[ -n "$BROWSER" ]]; then
|
||||||
for ft in $_browser_fts ; do alias -s $ft=$BROWSER ; done
|
_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
|
||||||
|
fi
|
||||||
|
|
||||||
_editor_fts=(cpp cxx cc c hh h inl asc txt TXT tex)
|
_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)
|
_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)
|
_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
|
#read documents
|
||||||
alias -s pdf=acroread
|
alias -s pdf=acroread
|
||||||
|
Loading…
Reference in New Issue
Block a user