emacs in XDG_CONFIG_HOME
This commit is contained in:
parent
bae49c1a05
commit
a9dd660f60
1 changed files with 13 additions and 9 deletions
|
@ -6,18 +6,22 @@ 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
|
fi
|
||||||
|
|
||||||
|
if [ -d "$XDG_CONFIG_HOME/emacs/bin" ]; then
|
||||||
|
export PATH="$XDG_CONFIG_HOME/emacs/bin:$PATH"
|
||||||
|
fi
|
||||||
|
|
||||||
autoload -Uz compinit
|
autoload -Uz compinit
|
||||||
compinit
|
compinit
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue