Mercurial > dotfiles
comparison dot_zshrc @ 876:8589883596fd
fix: remove pathdirs option to avoid slow path completions
see: https://stackoverflow.com/questions/76746392/why-is-my-zsh-tab-completion-slow-on-commands-but-not-directories
> Perform a path search even on command names with slashes in them.
> Thus if ?/usr/local/bin? is in the user?s path, and he or she types ?X11/xinit?, the command ?/usr/local/bin/X11/xinit? will be executed (assuming it exists).
> Commands explicitly beginning with ?/?, ?./? or ?../? are not subject to the path search. This also applies to the ?.? and source builtins.
author | Zeger Van de Vannet <zeger@vandevan.net> |
---|---|
date | Thu, 25 Apr 2024 10:05:40 +0200 |
parents | 8a929c957d05 |
children |
comparison
equal
deleted
inserted
replaced
875:75fe7fda0948 | 876:8589883596fd |
---|---|
103 setopt autopushd | 103 setopt autopushd |
104 setopt pushdminus | 104 setopt pushdminus |
105 setopt pushdsilent | 105 setopt pushdsilent |
106 setopt nobeep | 106 setopt nobeep |
107 setopt notify | 107 setopt notify |
108 unsetopt pathdirs | |
108 REPORTTIME=5 | 109 REPORTTIME=5 |
109 | 110 |
110 zle_highlight=('paste:none') | 111 zle_highlight=('paste:none') |
111 | 112 |
112 HISTSIZE=3000 | 113 HISTSIZE=3000 |
240 | 241 |
241 function try { | 242 function try { |
242 while "$@"; do :; done | 243 while "$@"; do :; done |
243 } | 244 } |
244 | 245 |
245 # Suffix aliases | |
246 alias -s py=nvim | |
247 alias -s sv=nvim | |
248 alias -s v=nvim | |
249 alias -s vhd=nvim | |
250 alias -s sh=nvim | |
251 | 246 |
252 setopt extendedglob | 247 setopt extendedglob |
253 typeset -Ag abbreviations | 248 typeset -Ag abbreviations |
254 abbreviations=( | 249 abbreviations=( |
255 # "ac" "ack -C 5__CURSOR__--ignore-dir=.build" | 250 # "ac" "ack -C 5__CURSOR__--ignore-dir=.build" |