diff options
author | Alan Pearce | 2014-08-03 14:55:55 +0100 |
---|---|---|
committer | Alan Pearce | 2014-08-03 14:55:55 +0100 |
commit | 68e96902e27c7ee15ccc892a597b1843b1419eb7 (patch) | |
tree | b795ad66d282186abdc8bcd19426e21a2bf125d0 /tag-zsh/config/zsh/osx.zsh | |
parent | 648a40e503df5cd27e04b84502e4aad5c493b782 (diff) | |
download | dotfiles-68e96902e27c7ee15ccc892a597b1843b1419eb7.tar.lz dotfiles-68e96902e27c7ee15ccc892a597b1843b1419eb7.tar.zst dotfiles-68e96902e27c7ee15ccc892a597b1843b1419eb7.zip |
Zsh: Add netmount function for OSX
Diffstat (limited to 'tag-zsh/config/zsh/osx.zsh')
-rw-r--r-- | tag-zsh/config/zsh/osx.zsh | 3 |
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" +} |