diff options
author | Benedikt Böhm <bb@xnull.de> | 2009-04-07 19:06:01 +0200 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2009-04-07 20:37:21 +0200 |
commit | 0f5a762d3ed35ea4b141ba342671f57a35bb0f19 (patch) | |
tree | 3a66f37509ee191d3106d18e033a9d58d2d6292c | |
parent | 7df059c5e33039e56074d70ae599f3582884a900 (diff) | |
download | dotfiles-0f5a762d3ed35ea4b141ba342671f57a35bb0f19.tar.gz dotfiles-0f5a762d3ed35ea4b141ba342671f57a35bb0f19.tar.xz dotfiles-0f5a762d3ed35ea4b141ba342671f57a35bb0f19.zip |
prettify mount output
-rw-r--r-- | bashrc/common/alias.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/bashrc/common/alias.sh b/bashrc/common/alias.sh index d21cc87..0686fde 100644 --- a/bashrc/common/alias.sh +++ b/bashrc/common/alias.sh @@ -20,6 +20,15 @@ if ! hash nano > /dev/null 2>&1 ; then fi fi +# prettify mount output +mount() { + if [[ $# -eq 0 ]]; then + $(which mount) | column -t + else + $(which mount) "$@" + fi +} + # mkdir + chdir mkcd() { mkdir -p $1 && cd $1 |