From 0f5a762d3ed35ea4b141ba342671f57a35bb0f19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benedikt=20B=C3=B6hm?= Date: Tue, 7 Apr 2009 19:06:01 +0200 Subject: prettify mount output --- bashrc/common/alias.sh | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'bashrc/common') 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 -- cgit v1.2.3