diff options
author | sadbeast <sadbeast@sadbeast.com> | 2024-02-17 14:19:53 -0800 |
---|---|---|
committer | sadbeast <sadbeast@sadbeast.com> | 2024-02-17 14:19:53 -0800 |
commit | eadfad85d8028bb63a9683e9ecef7f3863464cb0 (patch) | |
tree | b4fa3a15ae34171b305150461d8809bf556ef008 /.zshrc | |
parent | 75a81afb44b9be12a7c620d85932e16ad023bc54 (diff) | |
download | cfg-eadfad85d8028bb63a9683e9ecef7f3863464cb0.tar.gz cfg-eadfad85d8028bb63a9683e9ecef7f3863464cb0.tar.bz2 |
fix asdf
Diffstat (limited to '.zshrc')
-rw-r--r-- | .zshrc | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -1,5 +1,8 @@ export PATH="$PATH:$HOME/bin:$HOME/projects/zig" -autoload -Uz compinit + + +# initialise completions with ZSH's compinit +autoload -Uz compinit && compinit typeset -i updated_at=$(date +'%j' -r ~/.zcompdump 2>/dev/null || stat -f '%Sm' -t '%j' ~/.zcompdump 2>/dev/null) if [ $(date +'%j') != $updated_at ]; then @@ -18,6 +21,12 @@ fi source ${ZDOTDIR:-~}/.antidote/antidote.zsh antidote load +export ASDF_DIR="$HOME/.asdf" +. "$ASDF_DIR//asdf.sh" + +# append completions to fpath +fpath=(${ASDF_DIR}/completions $fpath) + HISTFILE=$HOME/.zsh_history HISTSIZE=100000 SAVEHIST=$HISTSIZE @@ -102,4 +111,3 @@ export LS_COLORS="$(vivid generate one-dark)" eval "$(direnv hook zsh)" -. /opt/asdf-vm/asdf.sh |