Re-organise to use a bare repo

Re-organise to use a bare repo, e.g.
https://www.atlassian.com/git/tutorials/dotfiles.
This commit is contained in:
Oliver Davies 2021-06-10 10:10:59 +01:00
parent e00d9b2e96
commit d1da7c6e15
59 changed files with 19 additions and 68 deletions

View file

@ -0,0 +1,18 @@
# load our own completion functions
fpath=(~/.zsh/completion-scripts /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
## case-insensitive (all), partial-word and then substring completion
zstyle ':completion:*' matcher-list '' 'm:{a-zA-Z}={A-Za-z}' \
'r:|[._-]=* r:|=*' 'l:|=* r:|=*'