brummer10 / nosuspend

A little command-line tool to avoid computer suspend as long a app is running
GNU General Public License v3.0
9 stars 1 forks source link

enable tab completion after nosuspend? #2

Closed wolftune closed 8 years ago

wolftune commented 8 years ago

Is there a way to run nosuspend and still be able to then use tab-completion as normal for entering whatever the normal command is after that?

brummer10 commented 8 years ago

I'll check if it is possible

brummer10 commented 8 years ago

Yes, I've added a bash completion script (no_suspend) which will install in /etc/bash_completion.d this allow to use the normal autocomplete function from bash. When fresh installed, you may open a new terminal to reload the bash_completion files, or load it explicit with the command . /etc/bash_completion.d/no_suspend

wolftune commented 8 years ago

works! yay!