Move environment variables from xinitrc to zprofile.

This commit is contained in:
2015-11-05 03:17:47 +01:00
parent f171dd408d
commit 24194e7d6d
2 changed files with 4 additions and 2 deletions

View File

@@ -1,6 +1,5 @@
#!/bin/bash
export LOGDIR="$HOME/.var/log"
LOGFILE="$LOGDIR/xinitrc.log"
log() {

View File

@@ -20,9 +20,12 @@ export EDITOR="vim"
export VISUAL="vim"
export BROWSER="firefox"
export LOGDIR="$HOME/.var/log"
export RUNDIR="$HOME/.var/run"
if [[ -z "$SSH_CONNECTION" ]] ; then
eval $(ssh-agent -s)
[[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && startx
fi