Skip to content

Commit

Permalink
Merge pull request #4689 from apjanke/fix-non-numeric-versions
Browse files Browse the repository at this point in the history
common-aliases: handle "dev" versions in version check
  • Loading branch information
mcornella committed Dec 11, 2015
2 parents 45e42ef + c52f677 commit 5e950d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/common-aliases/common-aliases.plugin.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ alias mv='mv -i'

# zsh is able to auto-do some kungfoo
# depends on the SUFFIX :)
if [ ${ZSH_VERSION//\./} -ge 420 ]; then
if is-at-least 4.2.0; then
# open browser on urls
_browser_fts=(htm html de org net com at cx nl se dk dk php)
for ft in $_browser_fts ; do alias -s $ft=$BROWSER ; done
Expand Down

0 comments on commit 5e950d4

Please sign in to comment.