https://github.com/sarink/dotfiles
https://github.com/sarink/dotfiles
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/sarink/dotfiles
- Owner: sarink
- Created: 2021-12-22T21:10:34.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-03-13T02:06:15.000Z (about 1 year ago)
- Last Synced: 2025-01-10T03:25:20.566Z (5 months ago)
- Language: Shell
- Size: 60.5 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# dotfiles
## Bash
Clone the contents of this repo into: ~/dotfiles:
```
git clone https://github.com/sarink/dotfiles.git ~/dotfiles
```Add the following to ~/.bash_profile
```
# Loads dotfiles (customize the list below accordingly)
for file in ~/dotfiles/.{base,brew,brew-bash-completion,docker,macos,nvm,tmux-completion}; do
[ -r "$file" ] && source "$file"
done
unset file
```_Note: If you are on a machine that doesn't have git bash completion, you can add git-completion to the list above,
it's probably slightly outdated, but better than nothing_## Vim
Create a symbolic link for the vimrc config
```
ln -s ~/dotfiles/.vimrc ~/.vimrc
```Clone vundle
```
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
```Open vim, run `:VundleInstall` to install vim plugins (official [vundle docs](https://github.com/VundleVim/Vundle.vim)
## Tmux
Create a symbolic link for the tmux config
```
ln -s ~/dotfiles/.tmux.conf ~/.tmux.conf
```Clone tmux plugin manager into: ~/dotfiles/.tmux/plugins/tpm
```
git clone [email protected]:tmux-plugins/tpm ~/.tmux/plugins/tpm
```Open tmux, run `I` (probably `ctrl-aI`) to install tmux plugins (official [tpm docs](https://github.com/tmux-plugins/tpm)