File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3535
3636# https://github.com/junegunn/fzf
3737if ! command -v fzf & > /dev/null; then
38- gh repo clone junegunn/fzf " ${HOME} /.fzf" -- --depth 1
39- eval " ${HOME} /.fzf/install --key-bindings --completion --no-zsh --no-fish --no-update-rc"
38+ gh release download --clobber --output /tmp/fzf.tar.gz --repo junegunn/fzf --pattern " *-linux_amd64.tar.gz"
39+ tar xf /tmp/fzf.tar.gz -C /tmp/
40+ sudo install /tmp/fzf /usr/local/bin
4041fi
4142
4243# https://github.com/jesseduffield/lazygit
@@ -76,6 +77,12 @@ if ! command -v ctags &>/dev/null; then
7677 sudo make install
7778fi
7879
80+ if ! command -v treesitter & > /dev/null; then
81+ gh release download --clobber --output /tmp/tree-sitter.tar.gz --repo tree-sitter/tree-sitter --pattern " tree-sitter-linux-x64.gz"
82+ tar -xzf /tmp/tree-sitter.tar.gz -C /tmp/
83+ sudo install /tmp/tree-sitter /usr/local/bin/tree-sitter
84+ fi
85+
7986if command -v zsh & > /dev/null; then
8087 # Set zsh as the default shell
8188 sudo chsh -s /bin/zsh " $( whoami) "
You can’t perform that action at this time.
0 commit comments