irongit

feat: install fzf

huncholanehuncholaneauthored
parent 270e37fcommit adde2dfe1ba5f946a230ab8f2aef61cb01899318Browse files

3 files changed, +7 -1

+1-1.zshrc
@@ -11,5 +11,5 @@ autoload -Uz compinit && compinit
1111 source "$ZDOTDIR/update_functions.sh"
1212
1313 # Post compinit setups. Good for overriding plugins.
14-source "$ZDOTDIR"/env.sh
14+touch "$ZDOTDIR/env.sh" && source "$ZDOTDIR"/env.sh
1515 source "$ZDOTDIR"/config.sh
+2-0install.sh
@@ -59,6 +59,8 @@ custominstall fnm 'curl -fsSL https://fnm.vercel.app/install | bash'
5959 custominstall cargo "curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh" && . "$HOME/.cargo/env"
6060 custominstall lsd 'cargo install lsd'
6161 custominstall lazygit 'go install github.com/jesseduffield/lazygit@latest'
62+custominstall fzf 'git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf
63+~/.fzf/install'
6264
6365 # Initialize git setup
6466 if [[ -z $(git config --global user.name) ]]; then
+4-0precomp.sh
@@ -15,6 +15,10 @@ add_completions _uv 'uv generate-shell-completion zsh'
1515 # Custom PATH additions
1616 export PATH="$PATH:$HOME/.local/bin:$HOME/go/bin"
1717
18+# Setup fzf env
19+[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
20+
21+# Setup cargo env
1822 . "$HOME/.cargo/env"
1923
2024 # Setup fnm