Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/zhixian001/dotfiles


https://github.com/zhixian001/dotfiles

Last synced: 8 days ago
JSON representation

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
```