diff options
| author | Grégoire Duchêne <gduchene@awhk.org> | 2019-12-22 11:56:23 +0000 |
|---|---|---|
| committer | Grégoire Duchêne <gduchene@awhk.org> | 2019-12-22 11:56:23 +0000 |
| commit | bc6d0202b10feff10d0cd62eb99b1af4824d59c7 (patch) | |
| tree | a03c72e1d1f645539d33375d059c5fd2b7f425ef | |
| parent | a0f16b6d6b4928b6e64d065e9498b3f00dbc5a8b (diff) | |
Have macOS df hide inode statistics
GNU df does not show those by default so the Linux alias remains
unchanged.
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | dotfiles-darwin/zsh/rc | 1 | ||||
| -rw-r--r-- | dotfiles-linux/zsh/rc | 3 | ||||
| -rw-r--r-- | zsh/rc | 1 |
4 files changed, 5 insertions, 1 deletions
@@ -1,2 +1,3 @@ dotfiles-* !dotfiles-darwin +!dotfiles-linux diff --git a/dotfiles-darwin/zsh/rc b/dotfiles-darwin/zsh/rc index 019d611..88c05bd 100644 --- a/dotfiles-darwin/zsh/rc +++ b/dotfiles-darwin/zsh/rc @@ -1,4 +1,5 @@ # -*- mode: shell-script -*- +alias df='df -Ph' alias ls='ls -G' alias lsh='du -a | sort -h' diff --git a/dotfiles-linux/zsh/rc b/dotfiles-linux/zsh/rc new file mode 100644 index 0000000..2a87610 --- /dev/null +++ b/dotfiles-linux/zsh/rc @@ -0,0 +1,3 @@ +# -*- mode: shell-script -*- + +alias df='df -h' @@ -25,7 +25,6 @@ WORDCHARS=${WORDCHARS/\//} alias bc='bc -lq' alias cp='cp -i' alias ddig='dig +noall +answer' -alias df='df -h' alias du='du -h' alias dusum='du -d1 | sort -hr' alias ec='emacsclient -t' |
