<commit_before># =================================
# FASD - all kinds of teleportation
# =================================

export _FASD_DATA=$ZDOTDIR/.fasd
export _FASD_SHIFT=(nocorrect noglob)
export _FASD_VIMINFO=~/.vim/.viminfo

function () {
  local fasd_cache="$ZDOTDIR/fasd-init-cache"
  if [ "$(command -v fasd)" -nt "$fasd_cache" -o ! -s "$fasd_cache" ]; then
    fasd --init zsh-hook zsh-ccomp zsh-ccomp-install zsh-wcomp zsh-wcomp-install >| "$fasd_cache"
  fi
  source "$fasd_cache"
}

# interactive directory selection
# interactive file selection
alias sd='fasd -sid'
alias sf='fasd -sif'

# cd, same functionality as j in autojump
alias j='fasd -e cd -d'

_mydirstack() {
  local -a lines list<commit_msg>Make fasd fuzzier<commit_after># =================================
# FASD - all kinds of teleportation
# =================================

export _FASD_DATA=$ZDOTDIR/.fasd
export _FASD_SHIFT=(nocorrect noglob)
export _FASD_FUZZY=100
export _FASD_VIMINFO=~/.vim/.viminfo

function () {
  local fasd_cache="$ZDOTDIR/fasd-init-cache"
  if [ "$(command -v fasd)" -nt "$fasd_cache" -o ! -s "$fasd_cache" ]; then
    fasd --init zsh-hook zsh-ccomp zsh-ccomp-install zsh-wcomp zsh-wcomp-install >| "$fasd_cache"
  fi
  source "$fasd_cache"
}

# interactive directory selection
# interactive file selection
alias sd='fasd -sid'
alias sf='fasd -sif'

# cd, same functionality as j in autojump
alias j='fasd -e cd -d'

_mydirstack() {
  local -a lines list
{'fraction_non_alphanumeric': 0.21063394683026584, 'fraction_numerical': 0.002044989775051125, 'mean_word_length': 4.624521072796935, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6048180', 'n_tokens_mistral': 556, 'n_tokens_neox': 560, 'n_words': 135}