Skip to content

Commit e336f80

Browse files
committed
Update configs based on usage
1 parent 9786c89 commit e336f80

10 files changed

+59
-39
lines changed

.bash_profile

-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ source ~/bash/colors.sh
77
source ~/bash/extras.sh
88
source ~/bash/prompt.sh
99

10-
source ~/.local
11-
1210
shopt -s cdspell
1311
shopt -s checkwinsize
1412
shopt -s histappend

.gitconfig

+4-1
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,13 @@
1616
autocorrect = 1
1717
[merge]
1818
keepBackup = false
19+
tool = code
20+
conflictstyle = diff3
1921
[push]
2022
default = simple
2123
[filter "media"]
2224
clean = git-media-clean %f
2325
smudge = git-media-smudge %f
2426
[include]
25-
path = ~/.git.user.config
27+
path = ~/.git.user.config
28+
path = ~/.gitconfig.local

.gitignore

+19-12
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
*.swp
44
.subversion
55

6-
76
# Folder view configuration files
87
.DS_Store
98
Desktop.ini
@@ -40,42 +39,50 @@ fish/fishd.*
4039

4140
# Misc
4241
.CFUserTextEncoding
43-
.rbenv
4442
.docker
43+
.localized
44+
*.padl
45+
.rbenv
46+
*.ssb
4547
.viminfo
48+
.yarnrc
49+
.zcompdump
4650

4751
# User directories in MacOS
48-
<<<<<<< Updated upstream
4952
Applications
50-
Code
53+
5154
Desktop
5255
Documents
5356
Downloads
5457
Library
5558
Movies
5659
Music
5760
Pictures
58-
Public
61+
Sites
5962
SpiderOak Hive
63+
code/
6064
.aws/
61-
.babel.json
65+
.bundle/
66+
.cargo/
6267
.config/
6368
.docker/
6469
.electron/
70+
.gem/
6571
.histfile
6672
.luna/
73+
.multirust/
6774
.node-gyp/
6875
.now/
6976
.npm/
77+
.opam/
7078
.pia_manager/
71-
.*.log
7279
.pm2/
80+
.rustup/
7381
.vscode/
74-
.yarnrc
75-
.zcompdump
82+
.vscode-insiders/
7683

77-
# Private keys
84+
# Sensitive data
7885
.local
79-
.git.user.config
8086
.ssh
81-
87+
.gitconfig.local
88+
.*.log

.zshrc

+4
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,7 @@ zstyle :compinstall filename '$HOME/.zshrc'
2121
autoload -Uz compinit
2222
compinit
2323
# End of lines added by compinstall
24+
25+
export NVM_DIR="$HOME/.nvm"
26+
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
27+
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion

Brewfile

+6-6
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ cask "moom"
2525
cask "torbrowser"
2626

2727
# Can't add until signed into MAS
28-
mas "GIPHY Capture", id: 668208984
29-
mas "bear", id: 1091189122
30-
mas "keynote", id: 409183694
31-
mas "pages", id: 409201541
32-
mas "ia-writer", id: 775737590
33-
mas "kindle", id: 405399194
28+
# mas "GIPHY Capture", id: 668208984
29+
# mas "bear", id: 1091189122
30+
# mas "keynote", id: 409183694
31+
# mas "pages", id: 409201541
32+
# mas "ia-writer", id: 775737590
33+
# mas "kindle", id: 405399194

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
# ~/.dotfiles
22

3-
43
## Overview
4+
55
An opinionated attempt for a cross-shell setup.
66

77
## Contributing
8+
89
Pull requests are very welcome. Fork away!

fish/abbreviations.fish

+8
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,19 @@ abbr -a hhf defaults write com.apple.finder AppleShowAllFiles -bool false
2525

2626
# Easier navigation: Thanks @mathiasbynens, @gf3, et al.
2727
abbr -a .. cd ..
28+
<<<<<<< HEAD
2829
abbr -a cdc cd ~/Code/
2930
abbr -a cdd cd ~/Downloads
3031
abbr -a cddf cd ~/Code/dotfiles
3132
abbr -a cdl cd ~/Code/laptop
3233
abbr -a cds cd ~/Code/kevinsuttle.github.io
34+
=======
35+
abbr -a cdc cd ~/code/
36+
abbr -a cdd cd ~/Downloads
37+
abbr -a cddf cd ~/code/dotfiles
38+
abbr -a cdl cd ~/code/laptop
39+
abbr -a cds cd ~/code/kevinsuttle.github.io
40+
>>>>>>> Update configs based on usage
3341

3442
# Application Shortcuts
3543
abbr -a start_server "python -m SimpleHTTPServer"

fish/config.fish

+2-5
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ if not status --is-interactive
22
exit 0
33
end
44

5-
source "$XDG_CONFIG_HOME/fish/abbreviations.fish"
5+
source "$HOME/fish/abbreviations.fish"
66

77
# Fishhh
88
set -x fish_greeting ""
@@ -15,10 +15,7 @@ set -x MANPAGER "less -X"
1515

1616
set -x GIT_TERMINAL_PROMPT 1
1717
set -x GOPATH $HOME/go
18-
set -x DOTFILES $HOME/Code/dotfiles
19-
set -x DOCKER_HOST tcp://(boot2docker ip):2376
20-
set -x DOCKER_CERT_PATH /Users/(whoami)/.boot2docker/certs/boot2docker-vm
21-
set -x DOCKER_TLS_VERIFY 1
18+
set -x DOTFILES $HOME/code/dotfiles
2219

2320
# Path
2421
if not set -q -U fish_user_paths

setup.sh

+13-11
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
#! env sh
22

3-
if ( brew --version ) < /dev/null > /dev/null 2>&1; then
4-
echo 'Homebrew is already installed!'
3+
if ( brew --version ) < /dev/null > /dev/null 2>&1; then
4+
echo 'Homebrew is already installed!'
55
else
6-
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)";
6+
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)";
77
fi
88

9-
if ( brew cask --version; ) < /dev/null > /dev/null 2>&1; then
10-
echo 'Caskroom tapped already'
9+
if ( brew cask --version; ) < /dev/null > /dev/null 2>&1; then
10+
echo 'Caskroom tapped already'
1111
else
1212
brew tap caskroom/cask;
1313
fi
1414

15-
if ( brew bundle check; ) < /dev/null > /dev/null 2>&1; then
16-
echo 'Brewfiles enabled'
15+
if ( brew bundle check; ) < /dev/null > /dev/null 2>&1; then
16+
echo 'Brewfiles enabled'
1717
else
1818
brew tap Homebrew/bundle;
1919
brew bundle;
@@ -23,18 +23,20 @@ brew cleanup;
2323
brew prune;
2424
brew doctor;
2525

26-
cd ~;
27-
git init;
26+
cd ~;
27+
git init;
2828
git clone https://github.com/kevinSuttle/dotfiles.git .;
2929
git checkout -t origin/master
3030
git remote add origin https://github.com/kevinSuttle/dotfiles.git;
3131
git fetch origin;
32-
mkdir -p ~/Code && cd $_;
32+
mkdir -p ~/code && cd $_;
3333

3434
# git clone https://github.com/kevinSuttle/macOS-Defaults.git macOS-defaults -b suttle && cd $_;
3535
# source .osx;
3636

3737
rbenv install 2.4.3;
3838
mkdir -p ~/.nvm;
3939
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh | bash;
40-
nvm install --lts;
40+
41+
nvm install --lts;
42+
npm install --global pure-prompt;

zsh/extras.zsh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
test -e ${HOME}/.iterm2_shell_integration.zsh && source ${HOME}/.iterm2_shell_integration.zsh
22

33
# brew info zsh-syntax-highlighting
4-
source /usr/local/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
4+
test -e /usr/local/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh && source /usr/local/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh

0 commit comments

Comments
 (0)