ZSH and nethserver

coresystem

#1

Hi, I use zsh on my desktop and server for several years now, but on nethserver I haven’t done my shell setup until today, and when I’ve launch zsh I’ve this message

/etc/profile.d/e-smith-lib_compspec.sh:17: command not found: complete
/etc/profile.d/e-smith-lib_compspec.sh:37: command not found: complete
/etc/profile.d/e-smith-lib_compspec.sh:97: command not found: complete
/etc/profile.d/e-smith-lib_compspec.sh:109: command not found: complete

And I need to do ctrl + c to get the shell back.
If anyone have any idea, it can be useful for shell addict :wink:


(Giacomo Sanchietti) #2

This is the configuration for bash-completion.
Probably, the only fix you can do is:

rm -f /etc/profile.d/e-smith-lib_compspec.sh

But the file will be added again if nethserver-base is updated :smile:


#3

Thanks it work, but is sad that I need to do it after every update of nethserver-base :frowning:


(Filippo Carletti) #4

I think you may use the bashcompinit function of zsh: no more errors and command completion.
You should only modify your zshrc, but if you need to patch nethserver-base I’ll evaluate a pull request.