2024-05-23 16:03:27 +03:00

28 lines
499 B
Bash

# vim: ft=zsh
_so() {
[ -r "$1" ] && [ -f "$1" ] && source "$1"
}
_so "$XDG_CONFIG_HOME/bash/export"
_so "$XDG_CONFIG_HOME/bash/aliases"
_so "$XDG_CONFIG_HOME/bash/functions"
_so "$XDG_CONFIG_HOME/bash/hosts/$HOST"
_so /etc/zsh_command_not_found
_so "$ZDOTDIR/options"
_so "$ZDOTDIR/completion"
_so "$ZDOTDIR/history"
_so "$ZDOTDIR/prompt"
_so "$ZDOTDIR/other"
_so "$ZDOTDIR/aliases"
_so "$ZDOTDIR/plugin"
_so "$ZDOTDIR/calculator"
bindkey '`' autosuggest-accept
_sod "$ZDOTDIR/zshrc.d"