2021-03-28 17:15:49 +02:00
|
|
|
# Use powerline
|
|
|
|
USE_POWERLINE="true"
|
2021-07-30 11:48:42 +02:00
|
|
|
SAVEHIST=1000
|
|
|
|
HISTFILE=$XDG_CONFIG_HOME/zsh/.zsh_history
|
2021-03-28 17:15:49 +02:00
|
|
|
|
|
|
|
if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then
|
2021-06-25 17:57:55 +02:00
|
|
|
cbonsai -lp -t 0.005 -m "Welcome back"
|
|
|
|
sleep 2
|
|
|
|
startx &>/dev/null
|
2021-03-28 17:15:49 +02:00
|
|
|
fi
|
|
|
|
|
2021-06-25 17:57:55 +02:00
|
|
|
if [ -d "$HOME/bin" ]; then
|
|
|
|
export PATH="$HOME/bin:$PATH"
|
|
|
|
chmod u+x $HOME/bin/*
|
2021-03-28 17:15:49 +02:00
|
|
|
fi
|
|
|
|
|
2021-07-30 11:48:42 +02:00
|
|
|
export EMACSDIR="$XDG_CONFIG_HOME/emacs"
|
2021-06-25 17:57:55 +02:00
|
|
|
if [ -d "$XDG_CONFIG_HOME/emacs/bin" ]; then
|
|
|
|
export PATH="$XDG_CONFIG_HOME/emacs/bin:$PATH"
|
|
|
|
fi
|
|
|
|
|
|
|
|
autoload -Uz compinit
|
2021-03-28 17:15:49 +02:00
|
|
|
compinit
|
|
|
|
|
|
|
|
source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
|
|
|
source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
|
|
|
|
|
|
|
|
source /usr/share/doc/pkgfile/command-not-found.zsh
|
|
|
|
|
|
|
|
alias ls='exa -lh'
|
2021-04-04 14:08:36 +02:00
|
|
|
alias cat='bat'
|
2021-03-28 17:15:49 +02:00
|
|
|
alias diff='diff --color=auto'
|
|
|
|
alias grep='grep --color=auto'
|
|
|
|
alias ip='ip -color=auto'
|
|
|
|
|
2021-05-06 15:17:07 +02:00
|
|
|
eval $(thefuck --alias)
|
2021-03-28 17:15:49 +02:00
|
|
|
eval "$(LC_ALL="en_US.UTF-8" starship init zsh)"
|