[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: use zsh as login shell
From: |
宋文武 |
Subject: |
Re: use zsh as login shell |
Date: |
Fri, 05 Dec 2014 21:57:19 +0800 |
User-agent: |
Notmuch/0.18.1 (http://notmuchmail.org) Emacs/24.4.1 (x86_64-unknown-linux-gnu) |
Here are my new patches:
Yeh, just add ~/.zshrc to source /etc/profie is enough.
0001-system-Cleanup-bash-startup-files.patch
Description: Text Data
0002-system-Add-skeleton-.zshrc.patch
Description: Text Data
I find `su` to bash will give a non-useable shell with
PATH set to '/sbin:/bin:/usr/sbin:/usr/bin'. This is because su/pam
reset the PATH to this default value. To solve this, we can add
/etc/environment and use pam_env.so for su. (imo not worth it :)
`su -l` and `sudo` work fine.
- Re: use zsh as login shell,
宋文武 <=