A script to setup a new bash VPS/servers with defaults I like.
Can be run repeatedely to update from newly pushed changes to this repo.
Run:
bash -c "$(curl -fsSL https://raw.githubusercontent.com/purarue/bootstrap/master/bootstrap)"
Or, shorter (just redirects to the link above) in case I need to type it out:
bash -c "$(curl -sL purarue.xyz/s/b)"
Any additional bash customization gets put in ~/.bash_ext
curlgit
On a debian-based server, that can typically be satisfied like: apt update && apt install curl git
Prompts you to build neovim from scratch (on a debian-like system), which you could also do with:
bash -c "$(curl -fsSL https://raw.githubusercontent.com/purarue/bootstrap/master/build_neovim)"
- Sets some default environment variables:
- Color/Language Options
PS1(prompt)
- Sets some basic aliases (
ls/ll/git related aliases/etonvim) - prompts user to set global name, username and sets default editor for
git - neovim: clones my dotfiles to ~/.dotfiles and
rsyncs my neovim configuration, adds anvim_update_configfunction to sync it later - Installs fzf, sets up fzf integration (Ctrl+T,Ctrl+R)