cp does not work when using manjaro-zsh-config
-
manjaro-zsh-config
was pre-installed on VM by default. (Use the unstable branch) - Open zsh terminal
- Run
cp file_A file_B
- See the error:
cp: missing file operand
Try 'cp --help' for more information.
- Switch to bash on this terminal, that has no issue.
I checked manjaro-zsh-config:
$ cat /usr/share/zsh/manjaro-zsh-config | grep cp
alias cp='f(){ cp ${1:--i} };f' # Confirm before overwriting something
That causes the issue.
Edited by Zesko