1
0
Fork 0
dotfiles/common/.config/zsh/.zshrc

32 lines
678 B
Bash
Raw Normal View History

2024-11-14 22:41:10 +01:00
# Set cursor and title early
echo -ne '\e[5 q'
echo -ne "\e]0;$(print -P "%n@%m [%3~]")\007"
2024-11-12 01:41:57 +01:00
command -v direnv &>/dev/null && emulate zsh -c "$(direnv export zsh)"
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
fi
2024-11-11 21:54:02 +01:00
for f in \
"plugins" \
"functions" \
"aliases" \
"hashes" \
"options" \
"bindings" \
"completions" \
"widgets" \
2024-11-12 01:41:57 +01:00
"host" \
"prompt"
2024-11-11 21:54:02 +01:00
do
2024-11-11 18:41:26 +01:00
source "${ZDOTDIR}/config/${f}.zsh"
2024-06-10 01:45:17 +02:00
done
2024-11-12 01:41:57 +01:00
2024-11-21 10:23:09 +01:00
gpg-connect-agent updatestartuptty /bye >/dev/null 2>&1
# TODO: python argcomplete
# TODO: gempath
export GPG_TTY=$(tty)