Commit 61184465 authored by Robby Russell's avatar Robby Russell
Browse files

Merge pull request #2974 from elliottwilliams/patch-1

Fix osx function: "not valid in this context"
parents e423ca04 73212ded
...@@ -139,7 +139,7 @@ function man-preview() { ...@@ -139,7 +139,7 @@ function man-preview() {
function trash() { function trash() {
local trash_dir="${HOME}/.Trash" local trash_dir="${HOME}/.Trash"
local temp_ifs=$IFS local temp_ifs="$IFS"
IFS=$'\n' IFS=$'\n'
for item in "$@"; do for item in "$@"; do
if [[ -e "$item" ]]; then if [[ -e "$item" ]]; then
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment