From 0532a69e0faad2d8fdc0ab3723480aae08707fed Mon Sep 17 00:00:00 2001 From: Samir Benmendil Date: Sat, 8 Feb 2014 07:43:12 +0100 Subject: [PATCH] zsh: format the output of mount --- zsh/functions/mount | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 zsh/functions/mount diff --git a/zsh/functions/mount b/zsh/functions/mount new file mode 100644 index 0000000..cceb069 --- /dev/null +++ b/zsh/functions/mount @@ -0,0 +1,9 @@ +#!/bin/zsh + +function mount() { + if [[ $# -eq 0 ]]; then + /bin/mount | column -t + else + /bin/mount "$@" + fi +} -- 2.48.1