Skip to content

Commit

Permalink
cleanup and change to fish shell
Browse files Browse the repository at this point in the history
  • Loading branch information
fnbk committed Nov 13, 2017
1 parent a59e9c2 commit fe34aed
Show file tree
Hide file tree
Showing 13 changed files with 2,657 additions and 693 deletions.
26 changes: 9 additions & 17 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,24 +1,16 @@
.PHONY: all test clean vim git zsh bash nvim fish
.PHONY: all test clean git nvim fish

all: bash

bash:
cp bash/_bashrc ~/.bashrc
cp bash/_primary_bashrc ~/.primary_bashrc
source ~/.bashrc
all: git nvim fish

git:
cp git/_gitconfig ~/.gitconfig

vim:
cp vim/_vimrc ~/.vimrc

zsh:
cp zsh/.zshrc ~/.zshrc
mkdir -p ~/.config/backup && mv ~/.config/git ~/.config/backup/git.$(shell date +%Y-%m-%d-%H%M%S)
cp -rf git ~/.config/git

nvim:
cp nvim/init.vim ~/.config/nvim/init.vim
mkdir -p ~/.config/backup && mv ~/.config/nvim ~/.config/backup/nvim.$(shell date +%Y-%m-%d-%H%M%S)
cp -rf nvim ~/.config/nvim

fish:
mv ~/.config/fish ~/.config/fish.$(shell date +%s)
cp -rf ~/dotfiles/fish ~/.config/fish
mkdir -p ~/.config/backup && mv ~/.config/fish ~/.config/backup/fish.$(shell date +%Y-%m-%d-%H%M%S)
cp -rf fish ~/.config/fish

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ make

## build individually
```
make vim
make zsh
make nvim
make fish
make git
```

Expand Down
43 changes: 0 additions & 43 deletions bash/_bashrc

This file was deleted.

7 changes: 0 additions & 7 deletions bash/_primary_bashrc

This file was deleted.

2 changes: 1 addition & 1 deletion fish/config.fish
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ set -g fish_user_paths "/usr/local/opt/[email protected]/bin" $fish_user_paths
# go
#

set -g -x GOROOT /usr/local/Cellar/go/1.9.1/libexec
set -g -x GOROOT /usr/local/Cellar/go@1.8/1.8.4/libexec/
set -g -x GOPATH ~/primary/go
set -g -x PATH $PATH $GOROOT/bin # go root binaries
set -g -x PATH $PATH ~/primary/go/bin # go path binaries
Expand Down
File renamed without changes.
11 changes: 11 additions & 0 deletions git/ignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Vim
*.swp

# OSX's Desktop Services Store
.DS_Store

# Visual Studio Code
.vscode

# IDEA Plattform - IntelliJ, Goland
.idea
Loading

0 comments on commit fe34aed

Please sign in to comment.