From 68e96902e27c7ee15ccc892a597b1843b1419eb7 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sun, 3 Aug 2014 14:55:55 +0100 Subject: Zsh: Add netmount function for OSX --- tag-zsh/config/zsh/osx.zsh | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 tag-zsh/config/zsh/osx.zsh (limited to 'tag-zsh/config/zsh/osx.zsh') diff --git a/tag-zsh/config/zsh/osx.zsh b/tag-zsh/config/zsh/osx.zsh new file mode 100644 index 0000000..d99019b --- /dev/null +++ b/tag-zsh/config/zsh/osx.zsh @@ -0,0 +1,3 @@ +function netmount () { + osascript -e "try" -e "mount volume \"$1\"" -e "end try" +} -- cgit 1.4.1