From: Samir Benmendil Date: Sat, 8 Feb 2014 06:43:12 +0000 (+0100) Subject: zsh: format the output of mount X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/0532a69e0faad2d8fdc0ab3723480aae08707fed zsh: format the output of 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 +}