Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pzi/dotfiles
https://github.com/pzi/dotfiles
bash configuration dotfiles mac-osx
Last synced: 13 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/pzi/dotfiles
- Owner: pzi
- Created: 2013-02-07T10:56:15.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2020-03-05T14:53:22.000Z (almost 5 years ago)
- Last Synced: 2024-11-05T13:35:46.602Z (2 months ago)
- Topics: bash, configuration, dotfiles, mac-osx
- Language: Shell
- Size: 64.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Dotfiles
--------To automatically symlink all dotfiles to your home directory, run the following command from `~/`
```bash
for f in $(ls -Ap ~/Dropbox/Sync/dotfiles/ | grep -v / | grep -v README | grep -v .DS_Store | grep -v .osx); do echo "Removing and symlinking $f to ~/Dropbox/Sync/dotfiles/$f"; rm $f; ln -s ~/Dropbox/Sync/dotfiles/$f; done
```Also change username in `.rvmrc` to resemble current user.
Finally, get Sublime Text 2 to launch from the CLI by running:
```bash
ln -s /Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl /usr/local/bin/subl
```In case you use Sublime Text 3, do the below:
```bash
ln -s /Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl /usr/local/bin/subl
```