From 5b3952f8cd772733ddbe565de35abee6dfe552ab Mon Sep 17 00:00:00 2001 From: Alexander Popov Date: Sun, 8 Aug 2021 10:02:23 +0300 Subject: [PATCH] add alias --- bash/.bashrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bash/.bashrc b/bash/.bashrc index 204b36d..e9237a5 100644 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -10,6 +10,9 @@ alias ls='ls --color=auto' alias df='df -h' alias du='du -h' +alias tardir='tar -czf "../${PWD##*/}.tar.gz"' # tar.gz current dir +alias pacman-orphaned='pacman -Rns $(pacman -Qtdq)' # delete orphaned packages (Arch Linux) + export NVM_DIR="$HOME/.nvm" [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion