TrueNAS Scale System shell: set -o vi

Hi All
I’m a seasoned IT professional so I like to think I know my way around “stuff” but, no matter how hard I look, I can’t seem to find any resource that will tell me how to enable “set -o vi” when I create a TrueNAS Scale shell. I’ve set my default shell to bash and add “set -o vi” to my .bashrc but it doesn’t take effect - it’s almost as if the .bashrc isn’t run by default, which is also something I’ve researched but could not find an answer to.
Any help would be much appreaciated.

Many thanks

Would you believe it, I think I found the answer!
Moments after making this post I thought I’d have a last ditched attempt and search the Internet with more left field search parameters and I found an answer here SOLVED - how to source .bashrc automaticlly when user login | TrueNAS Community, which works.
Still happy to hear alternate/better options though if anyone has them?

1 Like