zsh: Divide zshrc into zshrc.d
Move every file from plugins into zshrc.d as well as all bigger blobs in the zshrc into their own files there. Some stuff is still in there that I am not all too sure where it belongs. TODO: Move. Because all external plugins are now sourced over a symlink I had to create a fork of fzf-tab for now that supports that. See: https://github.com/Aloxaf/fzf-tab/pull/153
This commit is contained in:
@@ -60,5 +60,14 @@ fi
|
||||
FZF_DEFAULT_COMMAND="find . -name '.git' -prune -o \( -type f -a -print \)"
|
||||
export FZF_DEFAULT_COMMAND
|
||||
|
||||
# Setup LS_COLORS
|
||||
if command -v dircolors &>/dev/null; then
|
||||
if [[ -e "$XDG_CONFIG_HOME"/dircolors/dircolors ]]; then
|
||||
eval "$(dircolors -b "$XDG_CONFIG_HOME"/dircolors/dircolors)"
|
||||
else
|
||||
eval "$(dircolors -b)"
|
||||
fi
|
||||
fi
|
||||
|
||||
# Automatically start X on login after boot.
|
||||
[[ -n $DISPLAY || $XDG_VTNR -ne 1 ]] || exec startx
|
||||
|
||||
Reference in New Issue
Block a user