Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zhixian001/dotfiles
https://github.com/zhixian001/dotfiles
Last synced: 8 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/zhixian001/dotfiles
- Owner: zhixian001
- Created: 2020-09-27T11:22:46.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2024-01-26T17:42:10.000Z (10 months ago)
- Last Synced: 2024-01-27T16:27:09.225Z (10 months ago)
- Language: Shell
- Size: 54.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Dotfiles
## Usage
### 1. Clone
### 2. Create Symlink
- example (.vimrc)
```bash
ln -s "$PWD/d.vimrc" ~/.vimrc
```## Usage (bashrc / bash_profile files)
### 1. Clone
### 2. Append to original bashrc / profile files
Check before running each command.
```bash
echo "export JH_DOTFILES_DIR=\"\$HOME/dotfiles\"" >> ~/.bashrc
echo "source \"\$JH_DOTFILES_DIR\"/d.bashrc" >> ~/.bashrc
cp ~/.bash_profile ~/.bash_profile.backup
echo "[[ -r \"\$HOME/.bashrc\" ]] && . \"\$HOME/.bashrc\"" > ~/.bash_profile
```