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
f362b69d
Unverified
Commit
f362b69d
authored
Feb 10, 2020
by
Yuan Liu
Committed by
GitHub
Feb 10, 2020
Browse files
common-aliases: fix loading of is-at-least function (#6215)
parent
d88fbe62
Changes
1
Show whitespace changes
Inline
Side-by-side
plugins/common-aliases/common-aliases.plugin.zsh
View file @
f362b69d
...
@@ -50,6 +50,7 @@ alias mv='mv -i'
...
@@ -50,6 +50,7 @@ alias mv='mv -i'
# zsh is able to auto-do some kungfoo
# zsh is able to auto-do some kungfoo
# depends on the SUFFIX :)
# depends on the SUFFIX :)
autoload
-Uz
is-at-least
if
is-at-least 4.2.0
;
then
if
is-at-least 4.2.0
;
then
# open browser on urls
# open browser on urls
if
[[
-n
"
$BROWSER
"
]]
;
then
if
[[
-n
"
$BROWSER
"
]]
;
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