add ncdu nice disk usage
This commit is contained in:
parent
d112b1602f
commit
dfb5184bf1
2
Brewfile
2
Brewfile
@ -88,3 +88,5 @@ brew "glances"
|
|||||||
brew "fzf"
|
brew "fzf"
|
||||||
# Diff-so-fancy
|
# Diff-so-fancy
|
||||||
brew "diff-so-fancy"
|
brew "diff-so-fancy"
|
||||||
|
# add nice disk usage
|
||||||
|
brew "ncdu"
|
||||||
|
@ -202,3 +202,6 @@ exec $SHELL
|
|||||||
|
|
||||||
# Install diff-so-fancy
|
# 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
|
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
|
||||||
|
@ -72,7 +72,8 @@ alias diff='colordiff'
|
|||||||
alias cp='cp -i' # confirmation before overwrite #
|
alias cp='cp -i' # confirmation before overwrite #
|
||||||
alias mv='mv -i' # confirmation before overwrite
|
alias mv='mv -i' # confirmation before overwrite
|
||||||
alias df='df -H'
|
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 headers='curl -I --compress' # Find out if remote server supports gzip / mod_deflate or not #
|
||||||
alias hist='history'
|
alias hist='history'
|
||||||
alias path='echo -e ${PATH//:/\\n}' # Explode and display current PATH
|
alias path='echo -e ${PATH//:/\\n}' # Explode and display current PATH
|
||||||
|
Loading…
Reference in New Issue
Block a user