[SOLVED] "setopt completeinword" not working
by blueray from LinuxQuestions.org on (#544N0)
My Complete .zshrc file is:
Code:# Lines configured by zsh-newuser-install
HISTFILE=~/.histfile
HISTSIZE=1000
SAVEHIST=1000
bindkey -e
# End of lines configured by zsh-newuser-install
# The following lines were added by compinstall
zstyle :compinstall filename '/home/blueray/.zshrc'
autoload -Uz compinit
compinit
# End of lines added by compinstall
setopt completeinwordsetopt output is:
Code:% setopt
completeinword
interactive
monitor
shinstdin
zleSo, completeinword is enabled.
If I type py3[TAB] it shows:
Code:% py3
py3clean py3compile py3versionsBut I was expecting it to show python3 as well as this is what setopt completeinword is supposed to do.
What am I doing wrong here?


Code:# Lines configured by zsh-newuser-install
HISTFILE=~/.histfile
HISTSIZE=1000
SAVEHIST=1000
bindkey -e
# End of lines configured by zsh-newuser-install
# The following lines were added by compinstall
zstyle :compinstall filename '/home/blueray/.zshrc'
autoload -Uz compinit
compinit
# End of lines added by compinstall
setopt completeinwordsetopt output is:
Code:% setopt
completeinword
interactive
monitor
shinstdin
zleSo, completeinword is enabled.
If I type py3[TAB] it shows:
Code:% py3
py3clean py3compile py3versionsBut I was expecting it to show python3 as well as this is what setopt completeinword is supposed to do.
What am I doing wrong here?