diff options
Diffstat (limited to 'zshrc')
-rw-r--r-- | zshrc | 15 |
1 files changed, 8 insertions, 7 deletions
@@ -51,6 +51,7 @@ alias vim="vim -p" # improved calender alias cal="ccal -e -f" +# use mplayer2 instead of mplayer alias mplayer="mplayer2" # suffix aliases @@ -59,12 +60,12 @@ alias -s gif="background gpicview" alias -s png="background gpicview" alias -s svg="background gpicview" alias -s pdf="background evince" -alias -s mkv="mplayer2 -really-quiet" -alias -s ogg="mplayer2 -really-quiet" -alias -s wmv="mplayer2 -really-quiet" -alias -s mpg="mplayer2 -really-quiet" -alias -s avi="mplayer2 -really-quiet" -alias -s mp4="mplayer2 -really-quiet" +alias -s mkv="background mplayer2" +alias -s ogg="background mplayer2" +alias -s wmv="background mplayer2" +alias -s mpg="background mplayer2" +alias -s avi="background mplayer2" +alias -s mp4="background mplayer2" alias -s exe="wine" alias -s vala="vim" alias -s txt="vim" @@ -87,7 +88,7 @@ title() { # function to spawn a program in the background background() { - $1 $2 >/dev/null 2>&1 &! + $1 $2 </dev/null >/dev/null 2>&1 &! } # get vcs info for the prompt |