summaryrefslogtreecommitdiff
path: root/plugins/osx
diff options
context:
space:
mode:
authorRobby Russell <robby@planetargon.com>2015-06-14 21:46:41 -0700
committerRobby Russell <robby@planetargon.com>2015-06-14 21:46:41 -0700
commit78bbf7a6e52e7aabc82f22c43c9309a5f0ff1282 (patch)
tree6a2a6374797c0f303a293cd17547349a617c7404 /plugins/osx
parent9eaf51107f15011f73b39fb727895f65797edcbc (diff)
parenta7e79824f85a89cbcacbceab0277c9833dee4817 (diff)
downloadzsh-78bbf7a6e52e7aabc82f22c43c9309a5f0ff1282.tar.gz
zsh-78bbf7a6e52e7aabc82f22c43c9309a5f0ff1282.tar.bz2
zsh-78bbf7a6e52e7aabc82f22c43c9309a5f0ff1282.zip
Merge pull request #3809 from ncanceill/easymerge
Easy-to-Merge
Diffstat (limited to 'plugins/osx')
-rw-r--r--plugins/osx/osx.plugin.zsh17
1 files changed, 0 insertions, 17 deletions
diff --git a/plugins/osx/osx.plugin.zsh b/plugins/osx/osx.plugin.zsh
index d0f9f009a..a6e3a83e6 100644
--- a/plugins/osx/osx.plugin.zsh
+++ b/plugins/osx/osx.plugin.zsh
@@ -138,23 +138,6 @@ function man-preview() {
man -t "$@" | open -f -a Preview
}
-function trash() {
- local trash_dir="${HOME}/.Trash"
- local temp_ifs="$IFS"
- IFS=$'\n'
- for item in "$@"; do
- if [[ -e "$item" ]]; then
- item_name="$(basename $item)"
- if [[ -e "${trash_dir}/${item_name}" ]]; then
- mv -f "$item" "${trash_dir}/${item_name} $(date "+%H-%M-%S")"
- else
- mv -f "$item" "${trash_dir}/"
- fi
- fi
- done
- IFS=$temp_ifs
-}
-
function vncviewer() {
open vnc://$@
}