Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dustinmichels/dotfiles
Some config files
https://github.com/dustinmichels/dotfiles
Last synced: 10 days ago
JSON representation
Some config files
- Host: GitHub
- URL: https://github.com/dustinmichels/dotfiles
- Owner: dustinmichels
- Created: 2017-07-11T22:57:34.000Z (over 7 years ago)
- Default Branch: main
- Last Pushed: 2022-12-10T01:14:47.000Z (almost 2 years ago)
- Last Synced: 2023-04-24T20:56:24.369Z (over 1 year ago)
- Language: Shell
- Homepage:
- Size: 77.1 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# dotfiles
## Usage
I symlink my dotfiles with copies in this repo.
When setting up a new computer, clone the repo, then run `./setup.sh` to copy files to their proper place.
```sh
# copy files to home directory
./setup.sh
```Then, to backup existing dotfiles:
```sh
# link files in home directory to repo
./backup.sh
```### Brewfile
Periodically backup homebrew by running:
```sh
brew bundle dump --global --force
```This outputs Brew programs to `~/.Brewfile`.
To install anew:
```sh
brew bundle --global
```See more brew stuff [here](https://gist.github.com/ChristopherA/a579274536aab36ea9966f301ff14f3f)
## Other programs
Install and setup manually.
### Terminal
[iterm2](https://www.iterm2.com/) with manta colors.
### Shell
Using [oh-my-zsh](https://ohmyz.sh/).
```sh
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
```Install [autosuggestion plugin](https://github.com/zsh-users/zsh-autosuggestions):
```sh
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
```### Homebrew
Install [homebrew](https://brew.sh/) package manager.
Install packages from Brewfile
```sh
brew bundle install
```### Python
#### Pyenv
```sh
# install dependencies
brew install openssl readline sqlite3 xz zlib tcl-tk# install pyenv
brew install pyenv# post install
echo 'eval "$(pyenv init --path)"' >> ~/.zprofile
echo 'eval "$(pyenv init -)"' >> ~/.zshrc
```List available pythons
```sh
pyenv install --list | grep " 3\.[678]"
```Install one, eg:
```sh
pyenv install 3.8.12
```Configure default:
```sh
pyenv global 3.8.12
```#### Poetry
Install poetry
https://python-poetry.org/docs/#installation### Resources
- [homebrew/homebrew-bundle](https://github.com/Homebrew/homebrew-bundle)