summaryrefslogtreecommitdiff
path: root/plugins/osx
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/osx')
-rw-r--r--plugins/osx/osx.plugin.zsh19
1 files changed, 1 insertions, 18 deletions
diff --git a/plugins/osx/osx.plugin.zsh b/plugins/osx/osx.plugin.zsh
index d0f9f009a..390960fdc 100644
--- a/plugins/osx/osx.plugin.zsh
+++ b/plugins/osx/osx.plugin.zsh
@@ -6,7 +6,7 @@
# ------------------------------------------------------------------------------
function tab() {
- local command="cd \\\"$PWD\\\"; clear; "
+ local command="cd \\\"$PWD\\\"; clear"
(( $# > 0 )) && command="${command}; $*"
the_app=$(
@@ -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://$@
}