Error content
_complete:96: bad math expression: operand expected at end of string
Cause: Zsh folder permission error
Solution:
-
- view the location of the Zsh folder
compaudit
# my path is:
/usr/local/share/zsh/site-functions
/usr/local/share/zsh
Set folder user group and its user
sudo su
chown -R user.user /usr/local/share/zsh
Set folder permissions
# root
chmod g-w -R zsh/
Restart the command window
Read More:
- Ubuntu: How to deal with the fatal: the remote end hung up unexpected error of GIT clone Android kernel
- [Solved] Compose error “HTTP request took too long to complete“
- After Centos installation is complete, ifconfig: command not found
- [Solved] find command error: paths must precede expression
- [Solved] Ubuntu 20.04 install MATLAB and toolbox permissions Error
- Solve the error report of the find command: paths must precede expression
- Git error bad signature [How to Solve]
- [Solved] WSL Ubuntu error: Access folder permission denied
- Gamit Run Error: grep SP file :bad year 2021 [How to Solve]
- Ubuntu Server: How to Install Chrome
- EasyConnect linux (ubuntu 20.04) Run Error [How to Solve]
- [Solved] sed -i error: sed: -e expression #1, char 44: invalid reference \1 on `s’ command’s RHS
- [Solved] FATAL CONFIG FILE ERROR: Bad directive or wrong number of arguments
- The resolution of Ubuntu 16.04 screen can’t be modified and the solution of circulating login
- [Solved] Ubuntu: su Switch root Error: Authentication failure
- [Solved] ubuntu Boot Error: /dev/nume0n1p2:clean
- [Solved] Ubuntu18.04 Px4 (xtdrone) gazebo joint simulate error
- [Solved] Ubuntu pip Install Error: which is not on PATH
- The solution of insufficient disk space of docker in Ubuntu
- The request was rejected because the URL contained a potentially malicious String “//“