https://github.com/irfansharif/dotfiles
@irfansharif's configs
https://github.com/irfansharif/dotfiles
ctags dotfiles fish tmux vim
Last synced: 4 months ago
JSON representation
@irfansharif's configs
- Host: GitHub
- URL: https://github.com/irfansharif/dotfiles
- Owner: irfansharif
- Created: 2016-02-20T11:13:51.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2023-10-23T14:58:06.000Z (almost 2 years ago)
- Last Synced: 2023-10-24T14:48:35.116Z (almost 2 years ago)
- Topics: ctags, dotfiles, fish, tmux, vim
- Language: Vim Script
- Homepage:
- Size: 197 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# @irfansharif's dotfiles
A documented history of needlessly meddling about configuration files
hoping to save time lost via meddling about configuration files.## Setup
```sh
#!/usr/bin/env bashfunction install {
if [ -z "$GOPATH" ]; then
echo "GOPATH unset; exiting"
exit 1
fiif [ -z "$SRCTREE" ]; then
echo "SRCTREE unset; falling back to $GOPATH/src/github.com/irfansharif/dotfiles"
SRCTREE=$GOPATH/src/github.com/irfansharif/dotfiles
fiif [ ! -d "$SRCTREE" ] ; then
git clone git@github.com:irfansharif/dotfiles.git $SRCTREE
filn -sf ${SRCTREE}/tmux/tmux.conf ~/.tmux.conf
ln -sf ${SRCTREE}/git/gitconfig ~/.gitconfig
ln -sf ${SRCTREE}/git/git-template ~/.git-template
ln -sf ${SRCTREE}/git/gitignore-global ~/.gitignore-global
ln -sf ${SRCTREE}/nvim ~/.config/nvim
ln -sf ${SRCTREE}/fish ~/.config/fish
ln -sf ${SRCTREE}/bat ~/.config/bat
ln -sf ${SRCTREE}/alacritty ~/.config/alacritty
ln -sf ${SRCTREE}/idea/ideavimrc ~/.ideavimrc
}
```