From: ds6 Date: Mon, 5 Feb 2018 07:51:24 +0000 (-0600) Subject: fixed default_unit alias X-Git-Url: https://git.sev.monster/~sev/dotfiles.git/commitdiff_plain/f51d40ba05d744949145dd2b14937ba829201d1f?hp=138de1277b91d940cbfcd5ac0f582dfd5a10cecc fixed default_unit alias --- diff --git a/base/.zshrc b/base/.zshrc index 52e3c7e..e68c85b 100644 --- a/base/.zshrc +++ b/base/.zshrc @@ -42,7 +42,7 @@ alias pa="$p" alias spa="sudo $p" unset p # sound source -function s { sysctl hw.snd.default_unit${1:+=$1} } +function s { sysctl hw.snd.default_unit${1:+\=$1} } # py venv alias va="source bin/activate" alias vd="deactivate"