add shards alias

This commit is contained in:
Alexander Popov 2022-08-13 11:52:58 +03:00
parent d4af48a448
commit 748fbc5972
Signed by: iiiypuk
GPG Key ID: D8C9B59A9F04A70C
1 changed files with 5 additions and 0 deletions

View File

@ -17,6 +17,11 @@ alias ..='cd ..'
alias tardir='tar -czf "../${PWD##*/}.tar.gz"' # tar.gz current dir
alias pacman-orphaned='pacman -Rns $(pacman -Qtdq)' # delete orphaned packages (Arch Linux)
# Crystal build
if command -v shards &> /dev/null; then
alias cbuild='shards build'
fi
# NVM (Node.js version manager)
if [ -d "$HOME/.nvm" ]; then
export NVM_DIR="$HOME/.nvm"