ubuntu-wsl2-systemd-script icon indicating copy to clipboard operation
ubuntu-wsl2-systemd-script copied to clipboard

Update zshrc if it exists

Open darichey opened this issue 5 years ago • 1 comments

It'd be nice if the script would also source /usr/sbin/start-systemd-namespace in .zshrc (or /etc/zsh/zshrc to match the existing use of bash.bashrc).

Right now, the behavior in zsh is very misleading:

~  λ snap list
error: access denied (try with sudo)
~  λ sudo snap list
error: access denied (see 'snap help login')

darichey avatar Jul 02 '20 06:07 darichey

/etc/zsh/zshenv would be more accurate if u using ssh-key-chain for example

EZaykov avatar Sep 26 '22 15:09 EZaykov