changed path to command-not-found-handle

This commit is contained in:
Matthew Saunders Brown 2021-04-13 15:06:28 -07:00
parent ac3f54ec6f
commit 3cad8c12c6

View File

@ -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