mirror of
https://git.sr.ht/~danbarber/dotfiles
synced 2025-03-04 08:59:18 +00:00
15 lines
369 B
Bash
15 lines
369 B
Bash
# load our own completion functions
|
|
fpath=(~/.zsh/completion /usr/local/share/zsh/site-functions $fpath)
|
|
|
|
# completion; use cache if updated within 24h
|
|
autoload -Uz compinit
|
|
if [[ -n $HOME/.zcompdump(#qN.mh+24) ]]; then
|
|
compinit -d $HOME/.zcompdump;
|
|
else
|
|
compinit -C;
|
|
fi;
|
|
|
|
# disable zsh bundled function mtools command mcd
|
|
# which causes a conflict.
|
|
compdef -d mcd
|