summary refs log tree commit diff stats
path: root/tag-zsh/config/zsh
diff options
context:
space:
mode:
authorAlan Pearce2014-08-03 14:55:55 +0100
committerAlan Pearce2014-08-03 14:55:55 +0100
commit68e96902e27c7ee15ccc892a597b1843b1419eb7 (patch)
treeb795ad66d282186abdc8bcd19426e21a2bf125d0 /tag-zsh/config/zsh
parent648a40e503df5cd27e04b84502e4aad5c493b782 (diff)
downloaddotfiles-68e96902e27c7ee15ccc892a597b1843b1419eb7.tar.lz
dotfiles-68e96902e27c7ee15ccc892a597b1843b1419eb7.tar.zst
dotfiles-68e96902e27c7ee15ccc892a597b1843b1419eb7.zip
Zsh: Add netmount function for OSX
Diffstat (limited to 'tag-zsh/config/zsh')
-rw-r--r--tag-zsh/config/zsh/osx.zsh3
1 files changed, 3 insertions, 0 deletions
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"
+}