Category5.TV Community Forum
linux package and bashrc add - Printable Version

+- Category5.TV Community Forum (https://forum.category5.tv)
+-- Forum: NEMS - Nagios Enterprise Monitoring Server (https://forum.category5.tv/forum-8.html)
+--- Forum: Feature Requests (https://forum.category5.tv/forum-10.html)
+--- Thread: linux package and bashrc add (/thread-423.html)



linux package and bashrc add - Zerant - 01-24-2019

Hi,

after trying around, it would be nice to have "vim" installed by default.

And adding the line "complete -cf sudo" to "/home/$(whoami)/.bashrc" so you get the bash completion of "sudo nems-init", "sudo nems-mailtest" just some qol stuff Wink

Best,
Zerant


RE: linux package and bashrc add - Robbie Ferguson - 01-25-2019

LOL - add vim by default. You're such a nerd!

As a fellow nerd, FINE, I'll do it, but only because nerds are awesome.

Re. auto complete, not sure what you mean.

When I hit tab as non-root user, I get the list:

Code:
robbief@nems:~$ sudo nems-
nems-benchmark  nems-info       nems-mailtest   nems-update
nems-cert       nems-init       nems-quickfix   nems-upgrade


So what does your .bashrc addition provide that isn't already there?

Cheers,
Robbie


RE: linux package and bashrc add - Zerant - 01-25-2019

Haha thanks for vim :D

for the autocomplete i needed to add that to my .bashrc otherwise i didnt had the autocompletion