summaryrefslogtreecommitdiff
path: root/plugins/common-aliases
diff options
context:
space:
mode:
authorTuowen Zhao <ztuowen@gmail.com>2020-02-12 18:07:38 -0700
committerTuowen Zhao <ztuowen@gmail.com>2020-02-12 18:07:38 -0700
commit93a2003db7738e2255a4589ef2073df1be34fe02 (patch)
treec2f6b378ffae6d4f433acf2a1931d1cc1f3f0574 /plugins/common-aliases
parent891ef3d57b6d5e38e10c0894c3d956416adc95e2 (diff)
parenta6df94d2c677c6d28c5ee339975b7a56a2f67e21 (diff)
downloadzsh-93a2003db7738e2255a4589ef2073df1be34fe02.tar.gz
zsh-93a2003db7738e2255a4589ef2073df1be34fe02.tar.bz2
zsh-93a2003db7738e2255a4589ef2073df1be34fe02.zip
Merge branch 'master' of https://github.com/ohmyzsh/ohmyzsh
Diffstat (limited to 'plugins/common-aliases')
-rw-r--r--plugins/common-aliases/common-aliases.plugin.zsh1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/common-aliases/common-aliases.plugin.zsh b/plugins/common-aliases/common-aliases.plugin.zsh
index 785a09c63..ce1995c03 100644
--- a/plugins/common-aliases/common-aliases.plugin.zsh
+++ b/plugins/common-aliases/common-aliases.plugin.zsh
@@ -50,6 +50,7 @@ alias mv='mv -i'
# zsh is able to auto-do some kungfoo
# depends on the SUFFIX :)
+autoload -Uz is-at-least
if is-at-least 4.2.0; then
# open browser on urls
if [[ -n "$BROWSER" ]]; then