summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobby Russell <robby@planetargon.com>2014-11-06 09:27:16 -0800
committerRobby Russell <robby@planetargon.com>2014-11-06 09:27:16 -0800
commit6118446575401ed02a854a89d8ff36520983d135 (patch)
treebc5bc4cb7d6d294755ca3e98f9e6dcf682c6dff3
parente423ca04c83b228b33db1c9e761048f5e13c4c28 (diff)
parent73212ded4ee70c010a92eb7a126daa20c7453cba (diff)
downloadzsh-6118446575401ed02a854a89d8ff36520983d135.tar.gz
zsh-6118446575401ed02a854a89d8ff36520983d135.tar.bz2
zsh-6118446575401ed02a854a89d8ff36520983d135.zip
Merge pull request #2974 from elliottwilliams/patch-1
Fix osx function: "not valid in this context"
-rw-r--r--plugins/osx/osx.plugin.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/osx/osx.plugin.zsh b/plugins/osx/osx.plugin.zsh
index a63f0ee05..2eea0d8ef 100644
--- a/plugins/osx/osx.plugin.zsh
+++ b/plugins/osx/osx.plugin.zsh
@@ -139,7 +139,7 @@ function man-preview() {
function trash() {
local trash_dir="${HOME}/.Trash"
- local temp_ifs=$IFS
+ local temp_ifs="$IFS"
IFS=$'\n'
for item in "$@"; do
if [[ -e "$item" ]]; then