Skip to content

Commit

Permalink
Merge branch 'master' of github.com:varp/dotfiles into shell-function…
Browse files Browse the repository at this point in the history
…s-refactor
  • Loading branch information
varp committed Nov 11, 2024
2 parents 0ef8d07 + 6686f6e commit 320396b
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions dotfiles/zshrc
Original file line number Diff line number Diff line change
@@ -1,12 +1,4 @@
time_ms
##
## zinit
##
ZINIT_HOME="${XDG_DATA_HOME:-${HOME}/.local/share}/zinit/zinit.git"
[ ! -d $ZINIT_HOME ] && mkdir -p "$(dirname $ZINIT_HOME)"
[ ! -d $ZINIT_HOME/.git ] && git clone https://github.com/zdharma-continuum/zinit.git "$ZINIT_HOME"
source "${ZINIT_HOME}/zinit.zsh"

##
## POSIX complaint shell utitly functions and envs
##
Expand Down Expand Up @@ -131,6 +123,9 @@ if [ -n "$HOMEBREW_PREFIX" ]; then
fpath=("$HOMEBREW_PREFIX/share/zsh-completions" $fpath)
fpath=("$HOMEBREW_PREFIX/share/zsh/site-functions" $fpath)
fpath=("$HOMEBREW_PREFIX/completions" $fpath)
fpath=("$HOMEBREW_PREFIX/share/zsh-completions" $fpath)
fpath=("$HOMEBREW_PREFIX/share/zsh/site-functions" $fpath)
fpath=("$HOMEBREW_PREFIX/completions" $fpath)
fi

ZSH_COMPLETION_DIR="$HOME/.zsh_completion.d"
Expand Down

0 comments on commit 320396b

Please sign in to comment.