Update asdf and fzf to work nicer with MacOS
This commit is contained in:
parent
32ebf043e3
commit
56a572e55f
4 changed files with 11 additions and 2 deletions
|
@ -1,4 +1,3 @@
|
|||
golang 1.19
|
||||
chezmoi 2.20.0
|
||||
nodejs lts
|
||||
aws-copilot 1.20.0
|
||||
|
|
|
@ -1,5 +1,12 @@
|
|||
if [ -r ~/.asdf/asdf.sh ]; then
|
||||
. ~/.asdf/asdf.sh
|
||||
fi
|
||||
|
||||
if command -v brew &> /dev/null && [ -r "$(brew --prefix)/opt/asdf/asdf.sh" ]; then
|
||||
. "$(brew --prefix)/opt/asdf/asdf.sh"
|
||||
fi
|
||||
|
||||
if [ -n "$ASDF_DIR" ]; then
|
||||
# append completions to fpath
|
||||
fpath=(${ASDF_DIR}/completions $fpath)
|
||||
fi
|
||||
|
|
|
@ -5,3 +5,7 @@ done
|
|||
2>/dev/null for FZF_FILE in /usr/share/fzf/shell/*.zsh; do
|
||||
source "$FZF_FILE"
|
||||
done
|
||||
|
||||
2>/dev/null for FZF_FILE in /opt/homebrew/opt/fzf/shell/*.zsh; do
|
||||
source "$FZF_FILE"
|
||||
done
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
if command -v brew &> /dev/null; then
|
||||
FPATH="$(brew --prefix)/share/zsh/site-functions:${FPATH}"
|
||||
autoload -Uz compinit
|
||||
compinit
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue