summaryrefslogtreecommitdiffstats
path: root/.zshrc
diff options
context:
space:
mode:
Diffstat (limited to '.zshrc')
-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)"