From e866bf518128cbb7d2793235d061baf4c79f164b Mon Sep 17 00:00:00 2001 From: Kent Smith Date: Sun, 20 Aug 2023 09:58:59 -0700 Subject: the dream of reproducable builds dies here --- .zshrc | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/.zshrc b/.zshrc index f8f7b77..89b938c 100644 --- a/.zshrc +++ b/.zshrc @@ -22,7 +22,7 @@ HISTFILE=$HOME/.zsh_history HISTSIZE=100000 SAVEHIST=$HISTSIZE -EDITOR=vim +export EDITOR=vim bindkey -e # force emacs mode setopt hist_ignore_all_dups # remove older duplicate entries from history @@ -72,7 +72,14 @@ export FZF_DEFAULT_OPTS="$FZF_DEFAULT_OPTS"\ _gen_fzf_default_opts -source $HOME/.config/broot/launcher/bash/br + +DIRSTACKSIZE=8 +setopt autopushd pushdminus pushdsilent pushdtohome +alias dh='dirs -v' + +eval $(keychain --eval --quiet id_ed25519) + +#source $HOME/.config/broot/launcher/bash/br export GPG_TTY=$(tty) @@ -83,3 +90,12 @@ alias ls='ls --color=always' [ -f $HOME/.zshrc.local ] && source $HOME/.zshrc.local eval "$(starship init zsh)" + +# Automatically added by the Guix install script. +if [ -n "$GUIX_ENVIRONMENT" ]; then + if [[ $PS1 =~ (.*)"\\$" ]]; then + PS1="${BASH_REMATCH[1]} [env]\\\$ " + fi +fi + +eval "$(direnv hook zsh)" -- cgit v1.2.3