changed path to command-not-found-handle
This commit is contained in:
parent
ac3f54ec6f
commit
3cad8c12c6
|
@ -56,7 +56,7 @@ if [[ ! -f "/home/$username/.bashrc" ]]; then
|
||||||
echo 'export TERM=xterm-256color' >> /home/$username/.bashrc
|
echo 'export TERM=xterm-256color' >> /home/$username/.bashrc
|
||||||
echo '' >> /home/$username/.bashrc
|
echo '' >> /home/$username/.bashrc
|
||||||
echo 'command_not_found_handle () {' >> /home/$username/.bashrc
|
echo 'command_not_found_handle () {' >> /home/$username/.bashrc
|
||||||
echo ' /usr/local/bin/command-not-found-handle $@' >> /home/$username/.bashrc
|
echo ' /usr/libexec/command-not-found-handle $@' >> /home/$username/.bashrc
|
||||||
echo ' return 127' >> /home/$username/.bashrc
|
echo ' return 127' >> /home/$username/.bashrc
|
||||||
echo '}' >> /home/$username/.bashrc
|
echo '}' >> /home/$username/.bashrc
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue
Block a user