Update docs and add an option for graphical login
This commit is contained in:
@ -10,7 +10,8 @@ add_ssh_keys() {
|
||||
}
|
||||
|
||||
# Because I use zsh to start graphical sessions
|
||||
if [[ -o login ]]; then
|
||||
[[ -v ZSH_GRAPHICAL_LOGIN ]] || ZSH_GRAPHICAL_LOGIN=true
|
||||
if [[ -o login ]] && [[ "${ZSH_GRAPHICAL_LOGIN}" = 'true' ]] ; then
|
||||
export LC_ALL=en_US.UTF-8
|
||||
eval "$(gnome-keyring-daemon --start 2>/dev/null)"
|
||||
export SSH_AUTH_SOCK
|
||||
|
Reference in New Issue
Block a user