emacs in XDG_CONFIG_HOME

This commit is contained in:
Moritz Böhme 2021-06-25 17:57:55 +02:00
parent bae49c1a05
commit a9dd660f60

View file

@ -6,18 +6,22 @@ HISTFILE=~/.zsh_history
if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then
cbonsai -lp -t 0.005 -m "Welcome back"
sleep 2
startx &> /dev/null
startx &>/dev/null
fi
if [ -d "$HOME/bin" ] ; then
if [ -d "$HOME/bin" ]; then
export PATH="$HOME/bin:$PATH"
chmod u+x $HOME/bin/*
fi
if [ -d "$HOME/.emacs.d/bin" ] ; then
if [ -d "$HOME/.emacs.d/bin" ]; then
export PATH="$HOME/.emacs.d/bin:$PATH"
fi
if [ -d "$XDG_CONFIG_HOME/emacs/bin" ]; then
export PATH="$XDG_CONFIG_HOME/emacs/bin:$PATH"
fi
autoload -Uz compinit
compinit