just setup zsh with oh-my-zsh on Raspberry Pi
After every command, it reprints the command I typed. For example...
pi@raspberrypi ~>> ls
;lsDesktop ocr_pi.png python_games
just setup zsh with oh-my-zsh on Raspberry Pi
After every command, it reprints the command I typed. For example...
pi@raspberrypi ~>> ls
;lsDesktop ocr_pi.png python_games
Two causes of stuff like this are:
try
which precmd
which preexec
which zshaddhistory
or if they did it using the arrays to hold hooks:
echo $precmd_functions
echo $preexec_functions
echo $zshaddhistory_functions
or any of the hooks described in that page with '_functions' appended to it.
There is likely some buggy function bound to get executed right before you run a command or when you save your history etc. To turn them off (other than fixing oh-my-zsh or your setup of it) Call unset precmd_functions
to unset an array of functions, or unfunction precmd
.
export PROMPT='foo '
or unsetting PS1.