add ncdu nice disk usage

This commit is contained in:
Morgan Wattiez 2019-08-17 00:24:10 +02:00
parent d112b1602f
commit dfb5184bf1
3 changed files with 7 additions and 1 deletions

View File

@ -88,3 +88,5 @@ brew "glances"
brew "fzf"
# Diff-so-fancy
brew "diff-so-fancy"
# add nice disk usage
brew "ncdu"

View File

@ -202,3 +202,6 @@ exec $SHELL
# Install diff-so-fancy
curl https://raw.githubusercontent.com/so-fancy/diff-so-fancy/master/third_party/build_fatpack/diff-so-fancy > /usr/local/bin/diff-so-fancy && chmod +x /usr/local/bin/diff-so-fancy
# Install nice disk usage
yum -y install ncdu

View File

@ -72,7 +72,8 @@ alias diff='colordiff'
alias cp='cp -i' # confirmation before overwrite #
alias mv='mv -i' # confirmation before overwrite
alias df='df -H'
alias du='du -ch'
alias du='ncdu --color dark -rr -x --exclude .git --exclude node_modules'
#alias du='du -ch'
alias headers='curl -I --compress' # Find out if remote server supports gzip / mod_deflate or not #
alias hist='history'
alias path='echo -e ${PATH//:/\\n}' # Explode and display current PATH