From: Mike Frysinger Date: Tue, 12 Jun 2012 14:17:18 +0000 (-0400) Subject: handle whitespace with vlc X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=b598da0cd25c8e4e53cb2e5dd3839ac01e5cffec;p=home.git handle whitespace with vlc --- diff --git a/.profile.d/aliases.sh b/.profile.d/aliases.sh index 98bf762..3130b2e 100644 --- a/.profile.d/aliases.sh +++ b/.profile.d/aliases.sh @@ -25,7 +25,7 @@ alias repoman='repoman -q -q' alias rrsync='rsync -av --inplace --progress' alias s='aspell -a' sss() { aspell -a <<<"$*"; } -svlc() { sudo -u smriti sh -c 'export DISPLAY=:0; xset s reset; exec vlc "'"$*"'" >/dev/null 2>&1' ; } +svlc() { sudo -u smriti sh -c 'export DISPLAY=:0; xset s reset; exec vlc "$@" >/dev/null 2>&1' sh "$@" ; } svnc() { sudo -u smriti sh -c 'export DISPLAY=:0; xset s reset; exec x11vnc -q -nopw' ; } alias xine='xine -l'