https://github.com/fusion/bootstrap-my-shell
https://github.com/fusion/bootstrap-my-shell
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/fusion/bootstrap-my-shell
- Owner: Fusion
- Created: 2023-01-09T02:04:13.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-03-23T19:14:49.000Z (about 1 year ago)
- Last Synced: 2025-03-23T20:24:45.317Z (about 1 year ago)
- Language: Shell
- Size: 3.66 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 git@github.com: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