{"action":"created","issue":{"url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/issues/6274","repository_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh","labels_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/issues/6274/labels{/name}","comments_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/issues/6274/comments","events_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/issues/6274/events","html_url":"https://github.com/robbyrussell/oh-my-zsh/issues/6274","id":253825555,"number":6274,"title":"Oh My Zsh broken since some recent update","user":{"login":"tsouza","id":122435,"avatar_url":"https://avatars3.githubusercontent.com/u/122435?v=4","gravatar_id":"","url":"https://api.github.com/users/tsouza","html_url":"https://github.com/tsouza","followers_url":"https://api.github.com/users/tsouza/followers","following_url":"https://api.github.com/users/tsouza/following{/other_user}","gists_url":"https://api.github.com/users/tsouza/gists{/gist_id}","starred_url":"https://api.github.com/users/tsouza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsouza/subscriptions","organizations_url":"https://api.github.com/users/tsouza/orgs","repos_url":"https://api.github.com/users/tsouza/repos","events_url":"https://api.github.com/users/tsouza/events{/privacy}","received_events_url":"https://api.github.com/users/tsouza/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-08-29T22:34:54Z","updated_at":"2017-09-06T08:53:11Z","closed_at":null,"author_association":"NONE","body":"I've notice that autocomplete stopped working. So I tried reinstalling oh my zsh and after installing it again the problem persists. I also see this awkward output when installing:\r\n```\r\nLooking for an existing zsh config...\r\nFound ~/.zshrc. Backing up to ~/.zshrc.pre-oh-my-zsh\r\nUsing the Oh My Zsh template file and adding it to ~/.zshrc\r\n         __                                     __   \r\n  ____  / /_     ____ ___  __  __   ____  _____/ /_  \r\n / __ \\/ __ \\   / __ `__ \\/ / / /  /_  / / ___/ __ \\ \r\n/ /_/ / / / /  / / / / / / /_/ /    / /_(__  ) / / / \r\n\\____/_/ /_/  /_/ /_/ /_/\\__, /    /___/____/_/ /_/  \r\n                        /____/                       ....is now installed!\r\n\r\n\r\nPlease look over the ~/.zshrc file to select plugins, themes, and options.\r\n\r\np.s. Follow us at https://twitter.com/ohmyzsh.\r\n\r\np.p.s. Get stickers and t-shirts at http://shop.planetargon.com.\r\n\r\nbracketed-paste-magic () {\r\n\t# undefined\r\n\tbuiltin autoload -XUz\r\n}\r\ncolors () {\r\n\temulate -L zsh\r\n\ttypeset -Ag color colour\r\n\tcolor=(00 none 01 bold 02 faint 22 normal 03 standout 23 no-standout 04 underline 24 no-underline 05 blink 25 no-blink 07 reverse 27 no-reverse 08 conceal 28 no-conceal 30 black 40 bg-black 31 red 41 bg-red 32 green 42 bg-green 33 yellow 43 bg-yellow 34 blue 44 bg-blue 35 magenta 45 bg-magenta 36 cyan 46 bg-cyan 37 white 47 bg-white 39 default 49 bg-default) \r\n\tlocal k\r\n\tfor k in ${(k)color}\r\n\tdo\r\n\t\tcolor[${color[$k]}]=$k \r\n\tdone\r\n\tfor k in ${color[(I)3?]}\r\n\tdo\r\n\t\tcolor[fg-${color[$k]}]=$k \r\n\tdone\r\n\tcolor[grey]=${color[black]} \r\n\tcolor[fg-grey]=${color[grey]} \r\n\tcolor[bg-grey]=${color[bg-black]} \r\n\tcolour=(${(kv)color}) \r\n\tlocal lc=$'\\e[' rc=m \r\n\ttypeset -Hg reset_color bold_color\r\n\treset_color=\"$lc${color[none]}$rc\" \r\n\tbold_color=\"$lc${color[bold]}$rc\" \r\n\ttypeset -AHg fg fg_bold fg_no_bold\r\n\tfor k in ${(k)color[(I)fg-*]}\r\n\tdo\r\n\t\tfg[${k#fg-}]=\"$lc${color[$k]}$rc\" \r\n\t\tfg_bold[${k#fg-}]=\"$lc${color[bold]};${color[$k]}$rc\" \r\n\t\tfg_no_bold[${k#fg-}]=\"$lc${color[normal]};${color[$k]}$rc\" \r\n\tdone\r\n\ttypeset -AHg bg bg_bold bg_no_bold\r\n\tfor k in ${(k)color[(I)bg-*]}\r\n\tdo\r\n\t\tbg[${k#bg-}]=\"$lc${color[$k]}$rc\" \r\n\t\tbg_bold[${k#bg-}]=\"$lc${color[bold]};${color[$k]}$rc\" \r\n\t\tbg_no_bold[${k#bg-}]=\"$lc${color[normal]};${color[$k]}$rc\" \r\n\tdone\r\n}\r\ncompdump () {\r\n\t# undefined\r\n\tbuiltin autoload -XUz\r\n}\r\ncompinit () {\r\n\temulate -L zsh\r\n\tsetopt extendedglob\r\n\ttypeset _i_dumpfile _i_files _i_line _i_done _i_dir _i_autodump=1 \r\n\ttypeset _i_tag _i_file _i_addfiles _i_fail=ask _i_check=yes _i_name \r\n\twhile [[ $# -gt 0 && $1 = -[dDiuC] ]]\r\n\tdo\r\n\t\tcase \"$1\" in\r\n\t\t\t(-d) _i_autodump=1 \r\n\t\t\t\tshift\r\n\t\t\t\tif [[ $# -gt 0 && \"$1\" != -[dfQC] ]]\r\n\t\t\t\tthen\r\n\t\t\t\t\t_i_dumpfile=\"$1\" \r\n\t\t\t\t\tshift\r\n\t\t\t\tfi ;;\r\n\t\t\t(-D) _i_autodump=0 \r\n\t\t\t\tshift ;;\r\n\t\t\t(-i) _i_fail=ign \r\n\t\t\t\tshift ;;\r\n\t\t\t(-u) _i_fail=use \r\n\t\t\t\tshift ;;\r\n\t\t\t(-C) _i_check= \r\n\t\t\t\tshift ;;\r\n\t\tesac\r\n\tdone\r\n\ttypeset -gHA _comps _services _patcomps _postpatcomps\r\n\ttypeset -gHA _compautos\r\n\ttypeset -gHA _lastcomp\r\n\tif [[ -n $_i_dumpfile ]]\r\n\tthen\r\n\t\ttypeset -g _comp_dumpfile=\"$_i_dumpfile\" \r\n\telse\r\n\t\ttypeset -g _comp_dumpfile=\"${ZDOTDIR:-$HOME}/.zcompdump\" \r\n\tfi\r\n\ttypeset -gHa _comp_options\r\n\t_comp_options=(bareglobqual extendedglob glob multibyte multifuncdef nullglob rcexpandparam unset NO_allexport NO_aliases NO_cshnullglob NO_cshjunkiequotes NO_errexit NO_errreturn NO_globassign NO_globsubst NO_histsubstpattern NO_ignorebraces NO_ignoreclosebraces NO_kshglob NO_ksharrays NO_kshtypeset NO_markdirs NO_octalzeroes NO_posixbuiltins NO_posixidentifiers NO_shwordsplit NO_shglob NO_warnnestedvar NO_warncreateglobal) \r\n\ttypeset -gH _comp_setup='local -A _comp_caller_options;\r\n             _comp_caller_options=(${(kv)options[@]});\r\n             setopt localoptions localtraps localpatterns ${_comp_options[@]};\r\n             local IFS=$'\\'\\ \\\\t\\\\r\\\\n\\\\0\\'';\r\n             builtin enable -p \\| \\~ \\( \\? \\* \\[ \\< \\^ \\# 2>&-;\r\n             exec </dev/null;\r\n             trap - ZERR;\r\n             local -a reply;\r\n             local REPLY' \r\n\ttypeset -ga compprefuncs comppostfuncs\r\n\tcompprefuncs=() \r\n\tcomppostfuncs=() \r\n\t: $funcstack\r\n\tcompdef () {\r\n\t\tlocal opt autol type func delete eval new i ret=0 cmd svc \r\n\t\tlocal -a match mbegin mend\r\n\t\temulate -L zsh\r\n\t\tsetopt extendedglob\r\n\t\tif (( ! $# ))\r\n\t\tthen\r\n\t\t\tprint -u2 \"$0: I need arguments\"\r\n\t\t\treturn 1\r\n\t\tfi\r\n\t\twhile getopts \"anpPkKde\" opt\r\n\t\tdo\r\n\t\t\tcase \"$opt\" in\r\n\t\t\t\t(a) autol=yes  ;;\r\n\t\t\t\t(n) new=yes  ;;\r\n\t\t\t\t([pPkK]) if [[ -n \"$type\" ]]\r\n\t\t\t\t\tthen\r\n\t\t\t\t\t\tprint -u2 \"$0: type already set to $type\"\r\n\t\t\t\t\t\treturn 1\r\n\t\t\t\t\tfi\r\n\t\t\t\t\tif [[ \"$opt\" = p ]]\r\n\t\t\t\t\tthen\r\n\t\t\t\t\t\ttype=pattern \r\n\t\t\t\t\telif [[ \"$opt\" = P ]]\r\n\t\t\t\t\tthen\r\n\t\t\t\t\t\ttype=postpattern \r\n\t\t\t\t\telif [[ \"$opt\" = K ]]\r\n\t\t\t\t\tthen\r\n\t\t\t\t\t\ttype=widgetkey \r\n\t\t\t\t\telse\r\n\t\t\t\t\t\ttype=key \r\n\t\t\t\t\tfi ;;\r\n\t\t\t\t(d) delete=yes  ;;\r\n\t\t\t\t(e) eval=yes  ;;\r\n\t\t\tesac\r\n\t\tdone\r\n\t\tshift OPTIND-1\r\n\t\tif (( ! $# ))\r\n\t\tthen\r\n\t\t\tprint -u2 \"$0: I need arguments\"\r\n\t\t\treturn 1\r\n\t\tfi\r\n\t\tif [[ -z \"$delete\" ]]\r\n\t\tthen\r\n\t\t\tif [[ -z \"$eval\" ]] && [[ \"$1\" = *\\=* ]]\r\n\t\t\tthen\r\n\t\t\t\twhile (( $# ))\r\n\t\t\t\tdo\r\n\t\t\t\t\tif [[ \"$1\" = *\\=* ]]\r\n\t\t\t\t\tthen\r\n\t\t\t\t\t\tcmd=\"${1%%\\=*}\" \r\n\t\t\t\t\t\tsvc=\"${1#*\\=}\" \r\n\t\t\t\t\t\tfunc=\"$_comps[${_services[(r)$svc]:-$svc}]\" \r\n\t\t\t\t\t\t[[ -n ${_services[$svc]} ]] && svc=${_services[$svc]} \r\n\t\t\t\t\t\t[[ -z \"$func\" ]] && func=\"${${_patcomps[(K)$svc][1]}:-${_postpatcomps[(K)$svc][1]}}\" \r\n\t\t\t\t\t\tif [[ -n \"$func\" ]]\r\n\t\t\t\t\t\tthen\r\n\t\t\t\t\t\t\t_comps[$cmd]=\"$func\" \r\n\t\t\t\t\t\t\t_services[$cmd]=\"$svc\" \r\n\t\t\t\t\t\telse\r\n\t\t\t\t\t\t\tprint -u2 \"$0: unknown command or service: $svc\"\r\n\t\t\t\t\t\t\tret=1 \r\n\t\t\t\t\t\tfi\r\n\t\t\t\t\telse\r\n\t\t\t\t\t\tprint -u2 \"$0: invalid argument: $1\"\r\n\t\t\t\t\t\tret=1 \r\n\t\t\t\t\tfi\r\n\t\t\t\t\tshift\r\n\t\t\t\tdone\r\n\t\t\t\treturn ret\r\n\t\t\tfi\r\n\t\t\tfunc=\"$1\" \r\n\t\t\t[[ -n \"$autol\" ]] && autoload -Uz \"$func\"\r\n\t\t\tshift\r\n\t\t\tcase \"$type\" in\r\n\t\t\t\t(widgetkey) while [[ -n $1 ]]\r\n\t\t\t\t\tdo\r\n\t\t\t\t\t\tif [[ $# -lt 3 ]]\r\n\t\t\t\t\t\tthen\r\n\t\t\t\t\t\t\tprint -u2 \"$0: compdef -K requires <widget> <comp-widget> <key>\"\r\n\t\t\t\t\t\t\treturn 1\r\n\t\t\t\t\t\tfi\r\n\t\t\t\t\t\t[[ $1 = _* ]] || 1=\"_$1\" \r\n\t\t\t\t\t\t[[ $2 = .* ]] || 2=\".$2\" \r\n\t\t\t\t\t\t[[ $2 = .menu-select ]] && zmodload -i zsh/complist\r\n\t\t\t\t\t\tzle -C \"$1\" \"$2\" \"$func\"\r\n\t\t\t\t\t\tif [[ -n $new ]]\r\n\t\t\t\t\t\tthen\r\n\t\t\t\t\t\t\tbindkey \"$3\" | IFS=$' \\t' read -A opt\r\n\t\t\t\t\t\t\t[[ $opt[-1] = undefined-key ]] && bindkey \"$3\" \"$1\"\r\n\t\t\t\t\t\telse\r\n\t\t\t\t\t\t\tbindkey \"$3\" \"$1\"\r\n\t\t\t\t\t\tfi\r\n\t\t\t\t\t\tshift 3\r\n\t\t\t\t\tdone ;;\r\n\t\t\t\t(key) if [[ $# -lt 2 ]]\r\n\t\t\t\t\tthen\r\n\t\t\t\t\t\tprint -u2 \"$0: missing keys\"\r\n\t\t\t\t\t\treturn 1\r\n\t\t\t\t\tfi\r\n\t\t\t\t\tif [[ $1 = .* ]]\r\n\t\t\t\t\tthen\r\n\t\t\t\t\t\t[[ $1 = .menu-select ]] && zmodload -i zsh/complist\r\n\t\t\t\t\t\tzle -C \"$func\" \"$1\" \"$func\"\r\n\t\t\t\t\telse\r\n\t\t\t\t\t\t[[ $1 = menu-select ]] && zmodload -i zsh/complist\r\n\t\t\t\t\t\tzle -C \"$func\" \".$1\" \"$func\"\r\n\t\t\t\t\tfi\r\n\t\t\t\t\tshift\r\n\t\t\t\t\tfor i\r\n\t\t\t\t\tdo\r\n\t\t\t\t\t\tif [[ -n $new ]]\r\n\t\t\t\t\t\tthen\r\n\t\t\t\t\t\t\tbindkey \"$i\" | IFS=$' \\t' read -A opt\r\n\t\t\t\t\t\t\t[[ $opt[-1] = undefined-key ]] || continue\r\n\t\t\t\t\t\tfi\r\n\t\t\t\t\t\tbindkey \"$i\" \"$func\"\r\n\t\t\t\t\tdone ;;\r\n\t\t\t\t(*) while (( $# ))\r\n\t\t\t\t\tdo\r\n\t\t\t\t\t\tif [[ \"$1\" = -N ]]\r\n\t\t\t\t\t\tthen\r\n\t\t\t\t\t\t\ttype=normal \r\n\t\t\t\t\t\telif [[ \"$1\" = -p ]]\r\n\t\t\t\t\t\tthen\r\n\t\t\t\t\t\t\ttype=pattern \r\n\t\t\t\t\t\telif [[ \"$1\" = -P ]]\r\n\t\t\t\t\t\tthen\r\n\t\t\t\t\t\t\ttype=postpattern \r\n\t\t\t\t\t\telse\r\n\t\t\t\t\t\t\tcase \"$type\" in\r\n\t\t\t\t\t\t\t\t(pattern) if [[ $1 = (#b)(*)=(*) ]]\r\n\t\t\t\t\t\t\t\t\tthen\r\n\t\t\t\t\t\t\t\t\t\t_patcomps[$match[1]]=\"=$match[2]=$func\" \r\n\t\t\t\t\t\t\t\t\telse\r\n\t\t\t\t\t\t\t\t\t\t_patcomps[$1]=\"$func\" \r\n\t\t\t\t\t\t\t\t\tfi ;;\r\n\t\t\t\t\t\t\t\t(postpattern) if [[ $1 = (#b)(*)=(*) ]]\r\n\t\t\t\t\t\t\t\t\tthen\r\n\t\t\t\t\t\t\t\t\t\t_postpatcomps[$match[1]]=\"=$match[2]=$func\" \r\n\t\t\t\t\t\t\t\t\telse\r\n\t\t\t\t\t\t\t\t\t\t_postpatcomps[$1]=\"$func\" \r\n\t\t\t\t\t\t\t\t\tfi ;;\r\n\t\t\t\t\t\t\t\t(*) if [[ \"$1\" = *\\=* ]]\r\n\t\t\t\t\t\t\t\t\tthen\r\n\t\t\t\t\t\t\t\t\t\tcmd=\"${1%%\\=*}\" \r\n\t\t\t\t\t\t\t\t\t\tsvc=yes \r\n\t\t\t\t\t\t\t\t\telse\r\n\t\t\t\t\t\t\t\t\t\tcmd=\"$1\" \r\n\t\t\t\t\t\t\t\t\t\tsvc= \r\n\t\t\t\t\t\t\t\t\tfi\r\n\t\t\t\t\t\t\t\t\tif [[ -z \"$new\" || -z \"${_comps[$1]}\" ]]\r\n\t\t\t\t\t\t\t\t\tthen\r\n\t\t\t\t\t\t\t\t\t\t_comps[$cmd]=\"$func\" \r\n\t\t\t\t\t\t\t\t\t\t[[ -n \"$svc\" ]] && _services[$cmd]=\"${1#*\\=}\" \r\n\t\t\t\t\t\t\t\t\tfi ;;\r\n\t\t\t\t\t\t\tesac\r\n\t\t\t\t\t\tfi\r\n\t\t\t\t\t\tshift\r\n\t\t\t\t\tdone ;;\r\n\t\t\tesac\r\n\t\telse\r\n\t\t\tcase \"$type\" in\r\n\t\t\t\t(pattern) unset \"_patcomps[$^@]\" ;;\r\n\t\t\t\t(postpattern) unset \"_postpatcomps[$^@]\" ;;\r\n\t\t\t\t(key) print -u2 \"$0: cannot restore key bindings\"\r\n\t\t\t\t\treturn 1 ;;\r\n\t\t\t\t(*) unset \"_comps[$^@]\" ;;\r\n\t\t\tesac\r\n\t\tfi\r\n\t}\r\n\ttypeset _i_wdirs _i_wfiles\r\n\t_i_wdirs=() \r\n\t_i_wfiles=() \r\n\tautoload -Uz compaudit\r\n\tif [[ -n \"$_i_check\" ]]\r\n\tthen\r\n\t\ttypeset _i_q\r\n\t\tif ! eval compaudit\r\n\t\tthen\r\n\t\t\tif [[ -n \"$_i_q\" ]]\r\n\t\t\tthen\r\n\t\t\t\tif [[ \"$_i_fail\" = ask ]]\r\n\t\t\t\tthen\r\n\t\t\t\t\tif ! read -q \"?zsh compinit: insecure $_i_q, run compaudit for list.\r\nIgnore insecure $_i_q and continue [y] or abort compinit [n]? \"\r\n\t\t\t\t\tthen\r\n\t\t\t\t\t\tprint -u2 \"$0: initialization aborted\"\r\n\t\t\t\t\t\tunfunction compinit compdef\r\n\t\t\t\t\t\tunset _comp_dumpfile _comp_secure compprefuncs comppostfuncs _comps _patcomps _postpatcomps _compautos _lastcomp\r\n\t\t\t\t\t\treturn 1\r\n\t\t\t\t\tfi\r\n\t\t\t\t\t_i_wfiles=() \r\n\t\t\t\t\t_i_wdirs=() \r\n\t\t\t\telse\r\n\t\t\t\t\t(( $#_i_wfiles )) && _i_files=(\"${(@)_i_files:#(${(j:|:)_i_wfiles%.zwc})}\") \r\n\t\t\t\t\t(( $#_i_wdirs )) && _i_files=(\"${(@)_i_files:#(${(j:|:)_i_wdirs%.zwc})/*}\") \r\n\t\t\t\tfi\r\n\t\t\tfi\r\n\t\t\ttypeset -g _comp_secure=yes \r\n\t\tfi\r\n\tfi\r\n\tautoload -Uz compdump compinstall\r\n\t_i_done='' \r\n\tif [[ -f \"$_comp_dumpfile\" ]]\r\n\tthen\r\n\t\tif [[ -n \"$_i_check\" ]]\r\n\t\tthen\r\n\t\t\tIFS=$' \\t' read -rA _i_line < \"$_comp_dumpfile\"\r\n\t\t\tif [[ _i_autodump -eq 1 && $_i_line[2] -eq $#_i_files && $ZSH_VERSION = $_i_line[4] ]]\r\n\t\t\tthen\r\n\t\t\t\tbuiltin . \"$_comp_dumpfile\"\r\n\t\t\t\t_i_done=yes \r\n\t\t\tfi\r\n\t\telse\r\n\t\t\tbuiltin . \"$_comp_dumpfile\"\r\n\t\t\t_i_done=yes \r\n\t\tfi\r\n\tfi\r\n\tif [[ -z \"$_i_done\" ]]\r\n\tthen\r\n\t\ttypeset -A _i_test\r\n\t\tfor _i_dir in $fpath\r\n\t\tdo\r\n\t\t\t[[ $_i_dir = . ]] && continue\r\n\t\t\t(( $_i_wdirs[(I)$_i_dir] )) && continue\r\n\t\t\tfor _i_file in $_i_dir/^([^_]*|*~|*.zwc)(N)\r\n\t\t\tdo\r\n\t\t\t\t_i_name=\"${_i_file:t}\" \r\n\t\t\t\t(( $+_i_test[$_i_name] + $_i_wfiles[(I)$_i_file] )) && continue\r\n\t\t\t\t_i_test[$_i_name]=yes \r\n\t\t\t\tIFS=$' \\t' read -rA _i_line < $_i_file\r\n\t\t\t\t_i_tag=$_i_line[1] \r\n\t\t\t\tshift _i_line\r\n\t\t\t\tcase $_i_tag in\r\n\t\t\t\t\t(\\#compdef) if [[ $_i_line[1] = -[pPkK](n|) ]]\r\n\t\t\t\t\t\tthen\r\n\t\t\t\t\t\t\tcompdef ${_i_line[1]}na \"${_i_name}\" \"${(@)_i_line[2,-1]}\"\r\n\t\t\t\t\t\telse\r\n\t\t\t\t\t\t\tcompdef -na \"${_i_name}\" \"${_i_line[@]}\"\r\n\t\t\t\t\t\tfi ;;\r\n\t\t\t\t\t(\\#autoload) autoload -Uz \"$_i_line[@]\" ${_i_name}\r\n\t\t\t\t\t\t[[ \"$_i_line\" != \\ # ]] && _compautos[${_i_name}]=\"$_i_line\"  ;;\r\n\t\t\t\tesac\r\n\t\t\tdone\r\n\t\tdone\r\n\t\tif [[ $_i_autodump = 1 ]]\r\n\t\tthen\r\n\t\t\tcompdump\r\n\t\tfi\r\n\tfi\r\n\tfor _i_line in complete-word delete-char-or-list expand-or-complete expand-or-complete-prefix list-choices menu-complete menu-expand-or-complete reverse-menu-complete\r\n\tdo\r\n\t\tzle -C $_i_line .$_i_line _main_complete\r\n\tdone\r\n\tzle -la menu-select && zle -C menu-select .menu-select _main_complete\r\n\tbindkey '^i' | IFS=$' \\t' read -A _i_line\r\n\tif [[ ${_i_line[2]} = expand-or-complete ]] && zstyle -a ':completion:' completer _i_line && (( ${_i_line[(i)_expand]} <= ${#_i_line} ))\r\n\tthen\r\n\t\tbindkey '^i' complete-word\r\n\tfi\r\n\tunfunction compinit compaudit\r\n\tautoload -Uz compinit compaudit\r\n\treturn 0\r\n}\r\ncompinstall () {\r\n\t# undefined\r\n\tbuiltin autoload -XUz\r\n}\r\ndown-line-or-beginning-search () {\r\n\t# undefined\r\n\tbuiltin autoload -XU\r\n}\r\nedit-command-line () {\r\n\t# undefined\r\n\tbuiltin autoload -XU\r\n}\r\nis-at-least () {\r\n\temulate -L zsh\r\n\tlocal IFS=\".-\" min_cnt=0 ver_cnt=0 part min_ver version order \r\n\tmin_ver=(${=1}) \r\n\tversion=(${=2:-$ZSH_VERSION} 0) \r\n\twhile (( $min_cnt <= ${#min_ver} ))\r\n\tdo\r\n\t\twhile [[ \"$part\" != <-> ]]\r\n\t\tdo\r\n\t\t\t(( ++ver_cnt > ${#version} )) && return 0\r\n\t\t\tif [[ ${version[ver_cnt]} = *[0-9][^0-9]* ]]\r\n\t\t\tthen\r\n\t\t\t\torder=(${version[ver_cnt]} ${min_ver[ver_cnt]}) \r\n\t\t\t\tif [[ ${version[ver_cnt]} = <->* ]]\r\n\t\t\t\tthen\r\n\t\t\t\t\t[[ $order != ${${(On)order}} ]] && return 1\r\n\t\t\t\telse\r\n\t\t\t\t\t[[ $order != ${${(O)order}} ]] && return 1\r\n\t\t\t\tfi\r\n\t\t\t\t[[ $order[1] != $order[2] ]] && return 0\r\n\t\t\tfi\r\n\t\t\tpart=${version[ver_cnt]##*[^0-9]} \r\n\t\tdone\r\n\t\twhile true\r\n\t\tdo\r\n\t\t\t(( ++min_cnt > ${#min_ver} )) && return 0\r\n\t\t\t[[ ${min_ver[min_cnt]} = <-> ]] && break\r\n\t\tdone\r\n\t\t(( part > min_ver[min_cnt] )) && return 0\r\n\t\t(( part < min_ver[min_cnt] )) && return 1\r\n\t\tpart='' \r\n\tdone\r\n}\r\nup-line-or-beginning-search () {\r\n\t# undefined\r\n\tbuiltin autoload -XU\r\n}\r\nurl-quote-magic () {\r\n\t# undefined\r\n\tbuiltin autoload -XUz\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/issues/comments/327419488","html_url":"https://github.com/robbyrussell/oh-my-zsh/issues/6274#issuecomment-327419488","issue_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/issues/6274","id":327419488,"user":{"login":"cobyism","id":296432,"avatar_url":"https://avatars3.githubusercontent.com/u/296432?v=4","gravatar_id":"","url":"https://api.github.com/users/cobyism","html_url":"https://github.com/cobyism","followers_url":"https://api.github.com/users/cobyism/followers","following_url":"https://api.github.com/users/cobyism/following{/other_user}","gists_url":"https://api.github.com/users/cobyism/gists{/gist_id}","starred_url":"https://api.github.com/users/cobyism/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cobyism/subscriptions","organizations_url":"https://api.github.com/users/cobyism/orgs","repos_url":"https://api.github.com/users/cobyism/repos","events_url":"https://api.github.com/users/cobyism/events{/privacy}","received_events_url":"https://api.github.com/users/cobyism/received_events","type":"User","site_admin":false},"created_at":"2017-09-06T08:53:11Z","updated_at":"2017-09-06T08:53:11Z","author_association":"NONE","body":"I’m seeing this too. Installed Oh My Zsh on a new laptop, and now every time I open a new terminal, [the output in this gist](https://gist.github.com/cobyism/b66741877b2a371000d3f93569cec91b) shows before my prompt. Also, tab completion and possibly other features appear broken."}}
{"actor":{"display_login":"cobyism"}}