dotfiles/home/.config/zsh/.zshrc

23 lines
620 B
Bash
Executable file

#!/usr/bin/zsh
source ~/.config/zsh/rc/fallback_term.zsh
source ~/.config/zsh/rc/history.zsh
source ~/.config/zsh/rc/opts.zsh
source ~/.config/zsh/rc/completion.zsh
source ~/.config/zsh/rc/keybinds.zsh
source ~/.config/zsh/rc/cmd_not_found.zsh
source ~/.config/zsh/rc/auto_cleanup.zsh
# Prefer starship if available
if command -v starship >/dev/null; then
eval "$(starship init zsh)"
else
source ~/.config/zsh/rc/prompt.zsh
fi
# Setup aliases
[ -f ~/.config/shell/aliases ] && source ~/.config/shell/aliases
source ~/.config/zsh/rc/misc.zsh
source ~/.config/zsh/rc/plugins.zsh
source ~/.config/zsh/rc/zgenom.zsh