summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKent Smith <kent@sadbeast.com>2023-08-20 09:58:59 -0700
committerKent Smith <kent@sadbeast.com>2023-08-20 09:58:59 -0700
commite866bf518128cbb7d2793235d061baf4c79f164b (patch)
treefaf5b564de121c33336cc0d80e3bf926e3ab6f46
parent131dc54bd2853305f63d8b370b602281e338c8d6 (diff)
downloadcfg-e866bf518128cbb7d2793235d061baf4c79f164b.tar.gz
cfg-e866bf518128cbb7d2793235d061baf4c79f164b.tar.bz2
the dream of reproducable builds dies here
-rw-r--r--.zshrc20
1 files 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)"