Mercurial > dotfiles
comparison .chezmoiscripts/run_onchange_after_23-install-fzf.sh.tmpl @ 1043:3395b4109688
feat: update fzf and setup in fish
author | Zeger Van de Vannet <zeger@vandevan.net> |
---|---|
date | Thu, 02 May 2024 08:41:10 +0200 |
parents | e4d67607d020 |
children |
comparison
equal
deleted
inserted
replaced
1042:aa5a077e8680 | 1043:3395b4109688 |
---|---|
1 {{ if (and (eq .chezmoi.os "linux") (eq .chezmoi.osRelease.name "Ubuntu" )) -}} | 1 {{ if (eq .chezmoi.os "linux") -}} |
2 #!/usr/bin/env bash | 2 #!/usr/bin/env bash |
3 | 3 |
4 set -xe | 4 set -xe |
5 | 5 |
6 git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf | 6 if [ -d "$HOME/.fzf" ]; then |
7 cd ~/.fzf | |
8 git pull | |
9 else | |
10 git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf | |
11 fi | |
12 | |
13 cd ~/.fzf | |
14 git fetch --all --tags | |
15 git checkout 0.53.0 | |
16 | |
7 ~/.fzf/install --all | 17 ~/.fzf/install --all |
8 | 18 |
9 {{ end -}} | 19 {{ end -}} |