-
Notifications
You must be signed in to change notification settings - Fork 1
/
.freshrc
179 lines (142 loc) · 4.52 KB
/
.freshrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
# freshshell.com
#
# Examples:
#
# fresh twe4ked/dotfiles shell/functions.sh
# fresh jasoncodes/dotfiles aliases/rails.sh
# fresh jasoncodes/dotfiles config/tmux.conf --file
#
# See http://freshshell.com/readme for documentation.
# Meta: handles updating fresh
fresh freshshell/fresh bin/fresh --bin
### ~/.bash_profile internals
# inspired by mathiasbynens/dotfiles
# this `fresh` code symlinks each listed dotfile to ~/.$dotfile
# linked files are then source`d in ~/.bash_profile constructed below
for dotfile in path exports aliases functions; do
fresh bash/$dotfile.bash --file=~/.$dotfile
done
unset dotfile
# construct ~/.bash_prompt
fresh-options --file=~/.bash_prompt
# bash-it theme: doubletime with custom extension
# load colors, base prompt setup
fresh Bash-it/bash-it themes/colors.theme.bash
fresh Bash-it/bash-it themes/base.theme.bash
fresh Bash-it/bash-it themes/githelpers.theme.bash
# Original
fresh Bash-it/bash-it themes/doubletime/doubletime.theme.bash
# Customizations based on Bash-It theme
fresh bash/doubletime.setup.bash
fresh-options
### end ~/.bash_profile setup
### CONFIG FILE LINKING
# Alternatively, copy manually along with this file,
# instead of symlinking with fresh.
# Comment out the lines below.
###
fresh-options --file=~/.bash_profile
# composure shell scripting
fresh erichs/composure composure.sh
# Start with some simple defaults.
fresh bash/profile.start.bash
fresh bash/bash-it-cite.bash
fresh Bash-it/bash-it lib/helpers.bash
# loads path,bash_prompt,exports,aliases,functions,extra
fresh bash/mathias.dotfiles.bash
# source fresh's output
fresh freshshell/fresh contrib/source-build.sh
# nvm sourced in functions; now we can set it up.
fresh bash/nvm-setup.bash
# theme obscures working dir from terminal; this fixes it
# e.g. new tab opens in same (current) directory
fresh bash/apple.terminal.working-dir.bash
fresh-options
# .bashrc delegates to .bash_profile
fresh .bashrc --file
# .inputrc for bash / readline config
fresh .inputrc --file
# gitconfig
fresh-options --file=~/.gitconfig
fresh .gituserconfig
fresh .gitconfig
fresh-options
fresh .gitattributes --file
fresh .gitignore --file
# tmux
fresh-options --file=~/.tmux.conf
if [[ "$(uname)" == "Darwin" ]]; then
fresh tmux/.tmux.macOS.conf
fi
fresh seebi/tmux-colors-solarized tmuxcolors-dark.conf
fresh-options
# emacs
fresh-options --file=~/.emacs.d/init.el
fresh emacs/init.el
fresh-options
### end config file linking
# dircolors
fresh bash/dircolors.bash
# fasd init (source'd)
# this provides the aliases
# & data from a cached init code
# to keep things speedy
fresh bash/fasd.setup.bash
# https://github.com/nvbn/thefuck
fresh bash/thefuck.sh
# brew command-not-found
fresh bash/command-not-found.bash
### BIN management
# Re-install fresh with bootstrap
fresh install.sh --bin=~/bin/dotfiles
# git friendly
# abstractions around common git tasks
for gitHelper in branch merge pull push; do
fresh jamiew/git-friendly $gitHelper --bin
done
unset gitHelper
# FASD
# autojump, z util for directory jumping sorted by "frecency"
fresh clvv/fasd fasd --bin
# Leiningen Clojure Build System
# awesome way to bootstrap Clojure.
# there's a `brew` for it but whatevs.
# needs Java installed (JDK)
fresh technomancy/leiningen bin/lein --bin --ref=origin/stable
# Leiningen-Powered Clojure Scripting
fresh kumarshantanu/lein-exec lein-exec --bin
fresh kumarshantanu/lein-exec lein-exec-p --bin
# todo.txt: simple todo list
fresh ginatrapani/todo.txt-cli todo.sh --bin=~/bin/todo
# store todos in dropbox for effortless syncing
fresh todo.cfg --file=~/.todo/config
# Cross-Origin --disable-web-security Chrome with clean slate
fresh bin/crossOriginChrome.sh --bin
### completions
fresh autocompletion/local.sh
# local completions
# brew git git-flow etc.
# Homebrew: Mac OS X package management (used to download most everything else listed here)
# git Source Control Management
# git flow - Toolkit for Higher Level Branching abstractions
# bash-it completions
# gem pip ssh todo
# Ruby gems
# pip Python Package Management
# ssh completion with allowed hosts
# todo.txt cli
for completion in gem pip ssh todo; do
fresh Bash-it/bash-it completion/available/$completion.completion.bash
done
unset completion
# GNU ls dircolors
fresh seebi/dircolors-solarized dircolors.ansi-universal --file=~/.dircolors
# fresh completion (how meta)
fresh freshshell/fresh contrib/completion/fresh-completion.bash
# apex
fresh autocompletion/apex.sh
# git-friendly
fresh autocompletion/git-friendly.sh
# vault
fresh autocompletion/vault.sh
### end completions