Skip to content

Commit

Permalink
reorder bashcompinit and compinit to ensure all zsh completions take …
Browse files Browse the repository at this point in the history
…place
  • Loading branch information
gzagatti committed Dec 4, 2024
1 parent ac2f934 commit f02a50a
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions shells/zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ if [[ $- == *i* ]]; then
# Shell options {{{
setopt NO_CASE_GLOB
setopt AUTO_CD
autoload -Uz bashcompinit && bashcompinit
autoload -Uz compinit && compinit
autoload edit-command-line
zle -N edit-command-line
bindkey -v
Expand Down Expand Up @@ -385,12 +387,6 @@ if [[ $- == *i* ]]; then
# partial completion
zstyle ':completion:*' list-suffixes
zstyle ':completion:*' expand prefix suffix

# load bashcompinit for some old bash completions
autoload bashcompinit && bashcompinit

autoload -Uz compinit
compinit -u
# }}}

# Alias and functions {{{
Expand Down

0 comments on commit f02a50a

Please sign in to comment.