emacs in XDG_CONFIG_HOME
parent
bae49c1a05
commit
a9dd660f60
|
@ -4,18 +4,22 @@ SAVEHIST=200
|
||||||
HISTFILE=~/.zsh_history
|
HISTFILE=~/.zsh_history
|
||||||
|
|
||||||
if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then
|
if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then
|
||||||
cbonsai -lp -t 0.005 -m "Welcome back"
|
cbonsai -lp -t 0.005 -m "Welcome back"
|
||||||
sleep 2
|
sleep 2
|
||||||
startx &> /dev/null
|
startx &>/dev/null
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -d "$HOME/bin" ] ; then
|
if [ -d "$HOME/bin" ]; then
|
||||||
export PATH="$HOME/bin:$PATH"
|
export PATH="$HOME/bin:$PATH"
|
||||||
chmod u+x $HOME/bin/*
|
chmod u+x $HOME/bin/*
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -d "$HOME/.emacs.d/bin" ] ; then
|
if [ -d "$HOME/.emacs.d/bin" ]; then
|
||||||
export PATH="$HOME/.emacs.d/bin:$PATH"
|
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
|
fi
|
||||||
|
|
||||||
autoload -Uz compinit
|
autoload -Uz compinit
|
||||||
|
|
Loading…
Reference in New Issue