[Fish-users] query about using alias with sudo

2015-03-05 Thread Mandeep Sandhu
Hi All, Pardon my noob-ish question. I'm trying to add an alias which I can use running as myself or as root (via sudo). I've added the alias in /etc/fish/config.fish. It works from me (as user), but doesn't when run under sudo. How do I make the alias work under sudo? Thanks, -mandeep

Re: [Fish-users] query about using alias with sudo

2015-03-05 Thread Diego Zamboni
Mandeep, Have you also changed root’s shell to fish? Otherwise it will not read that config file. If I may make a side comment, I wouldn’t recommend using fish as root’s shell. As much as I like fish, its code is not nearly as mature as bash or sh, so there’s a higher likelihood of bugs,