Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Oh My Zsh
Commits
61184465
Commit
61184465
authored
Nov 06, 2014
by
Robby Russell
Browse files
Merge pull request #2974 from elliottwilliams/patch-1
Fix osx function: "not valid in this context"
parents
e423ca04
73212ded
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/osx/osx.plugin.zsh
View file @
61184465
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment