Alias df to skip loop and tmp fs on Linux
This commit is contained in:
1
.zshrc
1
.zshrc
@@ -7,6 +7,7 @@ cd $HOME/.zcustom
|
|||||||
case "`uname`" in
|
case "`uname`" in
|
||||||
Linux)
|
Linux)
|
||||||
STATARGS="-c %Z"
|
STATARGS="-c %Z"
|
||||||
|
alias df='df -x squashfs -x tmpfs -x devtmpfs'
|
||||||
;;
|
;;
|
||||||
Darwin)
|
Darwin)
|
||||||
test -e "${HOME}/.iterm2_shell_integration.zsh" && source "${HOME}/.iterm2_shell_integration.zsh"
|
test -e "${HOME}/.iterm2_shell_integration.zsh" && source "${HOME}/.iterm2_shell_integration.zsh"
|
||||||
|
|||||||
Reference in New Issue
Block a user