Install fzf for zsh
This commit is contained in:
parent
4a005b8f8c
commit
2b8c19e26f
3 changed files with 13 additions and 2 deletions
11
install.sh
11
install.sh
|
@ -13,12 +13,13 @@ install_homebrew() {
|
|||
fi
|
||||
}
|
||||
|
||||
install_shared_applications() {
|
||||
install_shared_applicaions() {
|
||||
brew install direnv fzf git stow the_silver_searcher tmux \
|
||||
vim zsh rbenv ruby-build tfenv nodenv node-build tig libpq gnupg llvm \
|
||||
awscli cmake jq watch gh nvim openssl@1.1 openssl@3 readline libyaml gmp
|
||||
|
||||
install_alacritty_terminfo
|
||||
install_fzf
|
||||
install_rust
|
||||
install_vim
|
||||
}
|
||||
|
@ -59,6 +60,14 @@ install_alacritty_terminfo() {
|
|||
fi
|
||||
}
|
||||
|
||||
install_fzf() {
|
||||
$(brew --prefix)/opt/fzf/install \
|
||||
--xdg \
|
||||
--no-update-rc \
|
||||
--keybindings \
|
||||
--completion
|
||||
}
|
||||
|
||||
install_rust() {
|
||||
if ! command -v rustup > /dev/null; then
|
||||
curl \
|
||||
|
|
|
@ -43,4 +43,4 @@ else
|
|||
fi
|
||||
unsetopt EXTENDEDGLOB
|
||||
|
||||
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
|
||||
[ -f $XDG_CONFIG_HOME/fzf/fzf.zsh ] && source $XDG_CONFIG_HOME/fzf/fzf.zsh
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
ZDOTDIR=$HOME/.config/zsh
|
||||
|
||||
XDG_CONFIG_HOME="$HOME/.config"
|
||||
|
||||
PERSONAL_BIN_PATH="$HOME/bin"
|
||||
PERSONAL_FPATH="$ZDOTDIR/completions"
|
||||
|
||||
|
|
Loading…
Reference in a new issue