6118446575401ed02a854a89d8ff36520983d135

Author
Robby Russell <robby@planetargon.com>
Committer
Robby Russell <robby@planetargon.com>
Date

Message

Merge pull request #2974 from elliottwilliams/patch-1

Fix osx function: "not valid in this context"

Diff

 1diff --git a/plugins/osx/osx.plugin.zsh b/plugins/osx/osx.plugin.zsh
 2index a63f0ee053ccbcbf0182660a04991754e1979268..2eea0d8ef1b5de801dd43a03b86d964e30cd2113 100644
 3--- a/plugins/osx/osx.plugin.zsh
 4+++ b/plugins/osx/osx.plugin.zsh
 5@@ -139,7 +139,7 @@ function man-preview() {
 6 
 7 function trash() {
 8   local trash_dir="${HOME}/.Trash"
 9-  local temp_ifs=$IFS
10+  local temp_ifs="$IFS"
11   IFS=$'\n'
12   for item in "$@"; do
13     if [[ -e "$item" ]]; then