largefiles remove stderr
This commit is contained in:
parent
deae930d72
commit
d848bb0440
|
@ -16,7 +16,7 @@ alias lgrep="find | grep"
|
||||||
alias psgrep="ps axu | grep"
|
alias psgrep="ps axu | grep"
|
||||||
alias isotime='date +"%Y-%m-%dT%H:%M:%S%z"'
|
alias isotime='date +"%Y-%m-%dT%H:%M:%S%z"'
|
||||||
### Functions
|
### Functions
|
||||||
function largefiles () { du -h "$@" | grep -P "\d+\.\d+(G|T)"; }
|
function largefiles () { exec 2>/dev/null; du -ah "$@" | grep -P "^\d+(G|T|P|E)\s" }
|
||||||
|
|
||||||
### ZSH HOME
|
### ZSH HOME
|
||||||
export ZSH=$HOME/.zsh-server
|
export ZSH=$HOME/.zsh-server
|
||||||
|
|
|
@ -26,7 +26,7 @@ alias isotime='date +"%Y-%m-%dT%H:%M:%S%z"'
|
||||||
alias vim="vimx"
|
alias vim="vimx"
|
||||||
|
|
||||||
### Functions
|
### Functions
|
||||||
function largefiles () { du -h "$@" | grep -P "\d+\.\d+(G|T)"; }
|
function largefiles () { exec 2>/dev/null; du -ah "$@" | grep -P "^\d+(G|T|P|E)\s" }
|
||||||
|
|
||||||
### ZSH HOME
|
### ZSH HOME
|
||||||
export ZSH=$HOME/.zsh
|
export ZSH=$HOME/.zsh
|
||||||
|
|
Loading…
Reference in New Issue