Skip to content

Commit

Permalink
fix: which zsh to use
Browse files Browse the repository at this point in the history
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
  • Loading branch information
vladdoster committed Apr 29, 2022
1 parent 1b99639 commit f9178ae
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions zsh/.config/zsh/zinit.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,6 @@
function error() { print -P "%F{red}[ERROR]%f: %F{yellow}$1%f" && return 1 }
function info() { print -P "%F{blue}[INFO]%f: %F{cyan}$1%f"; }
# ]]]
#
if type brew &>/dev/null
then
FPATH="$(brew --prefix)/share/zsh/site-functions:${FPATH}"
autoload -Uz compinit
compinit
fi
#=== ZINIT ============================================[[[
typeset -gAH ZINIT;
ZINIT[HOME_DIR]=$XDG_DATA_HOME/zsh/zinit ZPFX=$ZINIT[HOME_DIR]/polaris
Expand Down Expand Up @@ -42,11 +35,12 @@ if [[ -e $ZINIT[BIN_DIR]/zinit.zsh ]]; then
else error "unable to find 'zinit.zsh'" && return 1
fi
# ]]]
#=== ZSH BINARY =======================================[[[
# zi for atpull"%atclone" depth"1" lucid nocompile nocompletions as"null" \
# atclone"./install -e no -d ~/.local" atinit'export PATH="/Users/anonymous/.local/bin:$PATH"' \
# @romkatv/zsh-bin

#=== STATIC ZSH BINARY =======================================[[[
zi for atpull"%atclone" depth"1" lucid nocompile nocompletions as"null" \
atclone"./install -e no -d ~/.local" atinit"export PATH=$HOME/.local/bin:$PATH" \
@romkatv/zsh-bin
# ]]]
#=== COMPILE ZSH SOURCE =======================================[[[
# zi for atpull'%atclone' nocompile as'null' atclone'
# { print -P "%F{blue}[INFO]%f:%F{cyan}Building Zsh %f" \
# && autoreconf --force --install --make || ./Util/preconfig \
Expand Down

0 comments on commit f9178ae

Please sign in to comment.