<commit_before>
# ls
alias f="open ."
alias ls="exa --time-style iso"
alias la="ls -lag --git"
alias lt="ls -ltchanged"
alias tree="exa --tree -I node_modules"

# cut
sel() {
  cut -d"${2:-' '}" -f"${1:-1}"
}

# du
alias volumestat="du -m -x -d 3 $HOME/Repos/src | awk '\$1 >= 500{print}'"

# ff (fast file locate using `find`)
ff() {
  local filepath=$(fd | fzy)
  BUFFER=$LBUFFER$filepath$RBUFFER
  CURSOR=$#BUFFER
  zle redisplay<commit_msg>fix cursor position<commit_after>
# ls
alias f="open ."
alias ls="exa --time-style iso"
alias la="ls -lag --git"
alias lt="ls -ltchanged"
alias tree="exa --tree -I node_modules"

# cut
sel() {
  cut -d"${2:-' '}" -f"${1:-1}"
}

# du
alias volumestat="du -m -x -d 3 $HOME/Repos/src | awk '\$1 >= 500{print}'"

# ff (fast file locate using `find`)
ff() {
  local filepath=$(fd | fzy)
  BUFFER=$LBUFFER\"$filepath\"\ $RBUFFER
  CURSOR=$#RBUFFER
  zle redisplay
{'fraction_non_alphanumeric': 0.2097669256381798, 'fraction_numerical': 0.017758046614872364, 'mean_word_length': 3.5786802030456855, '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': '7512548', 'n_tokens_mistral': 393, 'n_tokens_neox': 372, 'n_words': 102}