Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fusion/bootstrap-my-shell
https://github.com/fusion/bootstrap-my-shell
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/fusion/bootstrap-my-shell
- Owner: Fusion
- Created: 2023-01-09T02:04:13.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-11-29T22:30:30.000Z (about 1 month ago)
- Last Synced: 2024-11-29T23:24:43.549Z (about 1 month ago)
- Language: Shell
- Size: 3.72 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Bootstrapping a new environment
A bit complex, because `.zshrc` itself contains the necessary aliases.
Suggested:
```bash
alias dotfiles="git --git-dir=$HOME/.dotfiles --work-tree=$HOME"
dotfilesclone () {
mkdir -p ~/.dotfiles \
&& dotfiles init \
&& dotfiles config --local status.showUntrackedFiles no \
&& dotfiles remote add origin [email protected]:Fusion/bootstrap-my-shell.git \
&& rm -f ~/.zshrc \
&& dotfiles pull origin main \
&& dotfiles branch -m main \
&& echo "To view tracked files: 'dotfiles ls-files'"
}
dotfilesclone
```# Cleanup
```bash
sudo rm -rf /nix .env.cfr-setup .env.nix $HOME/.nix-profile
```# Issues
Q: dialogs does not build and complains about missing curses header files
A: `sudo apt install libncurses-dev` then perform cleanup and try again