add nicemount function
authorJoerg Jaspert <joerg@ganneff.de>
Thu, 28 Mar 2013 12:08:49 +0000 (13:08 +0100)
committerJoerg Jaspert <joerg@ganneff.de>
Thu, 28 Mar 2013 12:08:49 +0000 (13:08 +0100)
.zsh/functions/nicemount [new file with mode: 0644]

diff --git a/.zsh/functions/nicemount b/.zsh/functions/nicemount
new file mode 100644 (file)
index 0000000..7a234a3
--- /dev/null
@@ -0,0 +1,6 @@
+# -*- mode:sh -*-
+
+# nice mount (http://catonmat.net/blog/another-ten-one-liners-from-commandlingfu-explained)
+# displays mounted drive information in a nicely formatted manner
+(echo "DEVICE PATH TYPE FLAGS" && mount | awk '$2="";1') | column -t
+