Hello,
I've used electron-forge on Linux, which uses tabtab, and I ran into a small bug that seems to be cause by tabtab : the program adds something to ~/.bashrc that looks like
# tabtab source for electron-forge package
# uninstall by removing these lines or running `tabtab uninstall electron-forge`
[ -f /home/user/<etc-etc>/node_modules/tabtab/.completions/electron-forge.bash ] && . /home/user/<etc-etc>/node_modules/tabtab/.completions/electron-forge.bash
where the "etc-etc" is the path I installed it to. If that path contains spaces, those spaces are not escaped (" " is written instead of "\ ") which triggers an error ("bash [ too many arguments" every time you open a terminal) and means the command that is added is not run properly.
The fix is (hopefully) easy; the spaces need to be escaped.
Thanks!
Hello,
I've used electron-forge on Linux, which uses tabtab, and I ran into a small bug that seems to be cause by tabtab : the program adds something to ~/.bashrc that looks like
where the "etc-etc" is the path I installed it to. If that path contains spaces, those spaces are not escaped (" " is written instead of "\ ") which triggers an error ("bash [ too many arguments" every time you open a terminal) and means the command that is added is not run properly.
The fix is (hopefully) easy; the spaces need to be escaped.
Thanks!