linux package and bashrc add

Have a great idea for an upcoming release of NEMS? Post it here.
Post Reply
User avatar
Zerant
Junior Member
Posts: 14
Joined: Wed Jan 02, 2019 11:30 am

linux package and bashrc add

Post by Zerant »

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 ;)

Best,
Zerant
User avatar
Robbie Ferguson
Posting Freak
Posts: 835
Joined: Wed Mar 07, 2012 3:23 pm
Location: Ontario, Canada
Contact:

RE: linux package and bashrc add

Post by Robbie Ferguson »

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: Select all

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
Robbie Ferguson // The Bald Nerd

Did I help you out? Appreciate what I do? Please consider saying thanks:
User avatar
Zerant
Junior Member
Posts: 14
Joined: Wed Jan 02, 2019 11:30 am

RE: linux package and bashrc add

Post by Zerant »

Haha thanks for vim :D

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