diff --git a/dots/.config/zsh/config/profile/profile/aliases.zsh b/dots/.config/zsh/config/profile/profile/aliases.zsh index 58a9bc61..0f129fe3 100644 --- a/dots/.config/zsh/config/profile/profile/aliases.zsh +++ b/dots/.config/zsh/config/profile/profile/aliases.zsh @@ -64,4 +64,7 @@ alias e="${EDITOR}" alias Get-Public-IPV4="dig @resolver4.opendns.com myip.opendns.com +short -4" alias Get-Public-IPV6="dig @resolver1.ipv6-sandbox.opendns.com AAAA myip.opendns.com +short -6" alias cv="command -v" -alias audio-record="arecord -f dat -r 41000 -d 5 $(date_iso_8601).wav" + +if command -v arecord >/dev/null 2>&1 then + alias audio-record="arecord -f dat -r 41000 -d 5 $(date_iso_8601).wav" +fi