diff options
Diffstat (limited to 'bashrc/common')
-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 |