summaryrefslogtreecommitdiff
path: root/.config/zsh
diff options
context:
space:
mode:
authoryuzu-eva <stevenhu@web.de>2023-03-20 13:50:42 +0100
committeryuzu-eva <stevenhu@web.de>2023-03-20 13:50:42 +0100
commite1737dbd191446d53d4687426eae682d31270b62 (patch)
treed4ff41ebcd844b5ad7cf7f062f3eb3d14870d099 /.config/zsh
parent782ee288d7a60e9f1359d6aa439ddc0f28ed09e6 (diff)
update i guess
Diffstat (limited to '.config/zsh')
-rw-r--r--.config/zsh/.zshrc10
1 files changed, 4 insertions, 6 deletions
diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc
index 016a729..e94a036 100644
--- a/.config/zsh/.zshrc
+++ b/.config/zsh/.zshrc
@@ -70,12 +70,6 @@ setopt hist_ignore_all_dups
setopt hist_find_no_dups
setopt hist_save_no_dups
-DIRSTACKFILE="${XDG_CACHE_HOME/.cache}/zsh/dirs"
-if [[ -f "$DIRSTACKFILE" ]] && (( ${#dirstack} == 0 )); then
- dirstack=("${(@f)"$(< "$DIRSTACKFILE")"}")
- [[ -d "${dirstack[1]}" ]] && cd -- "${dirstack[1]}"
-fi
-
DIRSTACKSIZE='20'
setopt auto_pushd
@@ -111,6 +105,10 @@ fi
neofetch
+# Add RVM to PATH for scripting. Make sure this is the last PATH variable change.
+[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
+
if [ -f $XDG_DATA_HOME/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh ]; then
. $XDG_DATA_HOME/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
fi
+