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/28426e67b79137cdf706e3740ce7a97212373d77?hp=cf9ecb6f0b3305af5147548c7eda9f054fbf8584 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"