summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--zshrc15
1 files changed, 8 insertions, 7 deletions
diff --git a/zshrc b/zshrc
index ae7b853..fa7a73e 100644
--- a/zshrc
+++ b/zshrc
@@ -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