conditional aliases

This commit is contained in:
Michael Zhang 2021-04-15 02:44:47 -05:00
parent 2e7d6857a8
commit 90b526deab
Signed by: michael
GPG key ID: BDA47A31A3C8EE6B

View file

@ -1,5 +1,5 @@
alias ls="exa"
alias rm="garbage put"
command_exists exa && alias ls="exa"
command_exists garbage && alias rm="garbage put"
alias cm="chezmoi"
alias kill-gpg-agent="gpgconf --kill gpg-agent"