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

View File

@ -17,6 +17,11 @@ alias ..='cd ..'
alias tardir='tar -czf "../${PWD##*/}.tar.gz"' # tar.gz current dir alias tardir='tar -czf "../${PWD##*/}.tar.gz"' # tar.gz current dir
alias pacman-orphaned='pacman -Rns $(pacman -Qtdq)' # delete orphaned packages (Arch Linux) 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) # NVM (Node.js version manager)
if [ -d "$HOME/.nvm" ]; then if [ -d "$HOME/.nvm" ]; then
export NVM_DIR="$HOME/.nvm" export NVM_DIR="$HOME/.nvm"