Hello There, Guest! Login Register
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

linux package and bashrc add

#1
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
 Reply
#2
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:
[email protected]:~$ 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:
 Reply
#3
Haha thanks for vim :D

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

Users browsing this thread: 1 Guest(s)