add shards alias
This commit is contained in:
parent
d4af48a448
commit
748fbc5972
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user