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
Ohmyzsh
Commits
2fb32651
Commit
2fb32651
authored
Jun 10, 2015
by
Dan Mills
Browse files
Only load url-quote-magic if it is available.
Partially fixes #3614
parent
4224c2a1
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/misc.zsh
View file @
2fb32651
## smart urls
autoload
-U
url-quote-magic
zle
-N
self-insert url-quote-magic
## Load smart urls if available
for
d
in
$fpath
;
do
if
[[
-e
"
$d
/url-quote-magic"
]]
;
then
autoload
-U
url-quote-magic
zle
-N
self-insert url-quote-magic
fi
done
## jobs
setopt long_list_jobs
...
...
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