Last active
November 10, 2024 21:34
-
-
Save MarlonPassos-git/ac170f74f7c1f2b6c1a8e2baa003cffb to your computer and use it in GitHub Desktop.
Config VSCode finditfaster dependecies
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| mkdir temp1 | |
| cd temp1 | |
| # Instalar fzf | |
| git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf | |
| ~/.fzf/install --all | |
| # Instalar ripgrep | |
| wget https://github.com/BurntSushi/ripgrep/releases/download/13.0.0/ripgrep-13.0.0-x86_64-unknown-linux-musl.tar.gz | |
| tar -xzf ripgrep-13.0.0-x86_64-unknown-linux-musl.tar.gz | |
| mkdir -p ~/.local/bin | |
| mv ripgrep-13.0.0-x86_64-unknown-linux-musl/rg ~/.local/bin/ | |
| # Instalar bat | |
| wget https://github.com/sharkdp/bat/releases/download/v0.23.0/bat-v0.23.0-x86_64-unknown-linux-gnu.tar.gz | |
| tar -xzf bat-v0.23.0-x86_64-unknown-linux-gnu.tar.gz | |
| mv bat-v0.23.0-x86_64-unknown-linux-gnu/bat ~/.local/bin/ | |
| # Criar link simbólico para batcat | |
| ln -s /usr/bin/batcat ~/.local/bin/bat | |
| # Adicionar ~/.local/bin ao PATH | |
| echo 'export PATH=$PATH:~/.local/bin' >> ~/.bashrc | |
| source ~/.bashrc | |
| cd .. | |
| rm -rf temp1 | |
| echo "Instalação concluída. Certifique-se de reiniciar o terminal ou executar 'source ~/.bashrc' para atualizar o PATH." |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| curl -s https://gist.githubusercontent.com/MarlonPassos-git/ac170f74f7c1f2b6c1a8e2baa003cffb/raw/gistfile1.sh | bash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment