summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2014-08-03 14:55:55 +0100
committerAlan Pearce2014-08-03 14:55:55 +0100
commit68e96902e27c7ee15ccc892a597b1843b1419eb7 (patch)
treeb795ad66d282186abdc8bcd19426e21a2bf125d0
parent648a40e503df5cd27e04b84502e4aad5c493b782 (diff)
downloadnixfiles-68e96902e27c7ee15ccc892a597b1843b1419eb7.tar.lz
nixfiles-68e96902e27c7ee15ccc892a597b1843b1419eb7.tar.zst
nixfiles-68e96902e27c7ee15ccc892a597b1843b1419eb7.zip
Zsh: Add netmount function for OSX
-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 00000000..d99019ba
--- /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"
+}