PageRenderTime 39ms CodeModel.GetById 17ms RepoModel.GetById 0ms app.codeStats 0ms

/tag-codespaces/install.sh

https://github.com/willnorris/dotfiles
Shell | 24 lines | 12 code | 7 blank | 5 comment | 0 complexity | 2f935cb00e817f35aa99b7830cc6c47a MD5 | raw file
Possible License(s): 0BSD, BSD-3-Clause, MIT, WTFPL
  1. #!/bin/bash
  2. USERNAME=$(whoami)
  3. sudo apt-get update
  4. sudo apt-get -y install man
  5. sudo chsh -s /usr/bin/zsh $USERNAME
  6. # install ripgrep (https://github.com/BurntSushi/ripgrep/releases/latest)
  7. curl -o /tmp/ripgrep.deb -L https://github.com/BurntSushi/ripgrep/releases/download/13.0.0/ripgrep_13.0.0_amd64.deb
  8. sudo dpkg -i /tmp/ripgrep.deb
  9. # install bat (https://github.com/sharkdp/bat/releases/latest)
  10. curl -o /tmp/bat.deb -L https://github.com/sharkdp/bat/releases/download/v0.18.3/bat_0.18.3_amd64.deb
  11. sudo dpkg -i /tmp/bat.deb
  12. # install neovim
  13. curl -o /tmp/nvim.tgz -L https://github.com/neovim/neovim/releases/download/nightly/nvim-linux64.tar.gz
  14. sudo tar -xzf /tmp/nvim.tgz -C /usr/local
  15. sudo ln -s /usr/local/nvim-linux64/bin/nvim /usr/local/bin/
  16. # run rcm (force install dotfiles)
  17. PATH="${HOME}/.dotfiles/local/bin:${PATH}" rcup -f -t codespaces