[Solved] Ubuntu tab Error: _complete:96: bad math expression: operand expected at end of string

Ubuntu tab Error error is caused due to the Zsh folder permission error :

_complete:96: bad math expression: operand expected at end of string

Solution for Ubuntu tab Error:

Step 1: First, Check the location of  the Zsh folder :

compaudit
# my path is:
/usr/local/share/zsh/site-functions
/usr/local/share/zsh

Step 2: Secondly, Set your user group and its user in the folder:

sudo su
chown -R user.user /usr/local/share/zsh

Step 3: Third, Set the permissions for the folder:

# root
chmod g-w -R zsh/

Step 4: Then, Restart the command panel.

Also read | [Solved]Vue Project Error: Error from chokidar :

Ranjeet Singh Rawat
Ranjeet Singh Rawat

Leave a Reply

Your email address will not be published.

five × four =