mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-12 21:39:48 +01:00
Merge pull request #2974 from elliottwilliams/patch-1
Fix osx function: "not valid in this context"
This commit is contained in:
commit
6118446575
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue