https://github.com/purarue/bootstrap
A script to setup a new bash VPS/servers with defaults I like
https://github.com/purarue/bootstrap
bash shell
Last synced: about 1 year ago
JSON representation
A script to setup a new bash VPS/servers with defaults I like
- Host: GitHub
- URL: https://github.com/purarue/bootstrap
- Owner: purarue
- License: unlicense
- Created: 2020-01-31T01:03:18.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2025-02-27T20:29:13.000Z (over 1 year ago)
- Last Synced: 2025-04-09T21:44:43.676Z (about 1 year ago)
- Topics: bash, shell
- Language: Shell
- Homepage:
- Size: 41 KB
- Stars: 1
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# bootstrap
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`
### Requires:
- `curl`
- `git`
On a debian-based server, that can typically be satisfied like: `apt update && apt install curl git`
### Features:
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/`e` to `nvim`)
- prompts user to set global name, username and sets default editor for `git`
- neovim: clones my dotfiles to ~/.dotfiles and `rsync`s my neovim configuration, adds a `nvim_update_config` function to sync it later
- Installs fzf, sets up fzf integration (Ctrl+T,Ctrl+R)