-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathfreshrc
160 lines (140 loc) · 5.95 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
# vim: set ft=sh:
fresh freshshell/fresh bin/fresh --bin
fresh freshshell/fresh contrib/completion/fresh-completion.zsh --file=completion/_fresh
fresh freshshell/fresh-open bin/fresh-open --bin
# Config
fresh-options --file
fresh config/\*
fresh jasoncodes/dotfiles config/inputrc
# NOTE: --file should not be needed here, this seems to be a fresh (Perl) bug.
fresh jasoncodes/dotfiles config/tmux.conf --marker --file
fresh jasoncodes/dotfiles config/psqlrc
fresh-options
fresh config/ranger/rc.conf --file=~/.config/ranger/rc.conf
fresh config/kwm/kwmrc --file=~/.kwm/kwmrc
fresh config/alacritty/alacritty.yml --file=~/.config/alacritty/alacritty.yml
fresh jasoncodes/dotfiles hammerspoon/\*.lua --file=~/.hammerspoon/init.lua
fresh EugeneDae/Force-Paste main.scpt --file=~/Library/Scripts/force-paste.scpt
fresh config/nvim/init.lua --file=~/.config/nvim/init.lua
fresh config/nvim/plugins/gitsigns.lua --file=~/.config/nvim/lua/plugins/gitsigns.lua
fresh-options --file=~/.ssh/config --marker
fresh config/ssh/config
fresh config/ssh/config.local --ignore-missing
fresh-options
# Zsh
fresh-options --file=~/.zshrc --marker
fresh shell/zsh/completion.zsh
if [ -x "$(command -v aurora_prompt)" ]; then
fresh shell/zsh/aurora_prompt.zsh
else
fresh shell/zsh/prompt.zsh
fi
fresh shell/zsh/title.zsh
fresh shell/zsh/aliases.zsh
fresh shell/zsh/zshrc
fresh shell/zsh/keybindings.zsh
fresh shell/zsh/selecta.zsh
fresh shell/zsh/tmux-words.zsh
fresh junegunn/fzf shell/completion.zsh
fresh junegunn/fzf shell/key-bindings.zsh
# This loads the shell files and needs to be at the bottom of the zshrc for
# compdef be availiable
fresh freshshell/fresh contrib/source-build.sh
# Needs to be below contrib/source-build.sh for $PATH to be set up
fresh shell/zsh/direnv.zsh
fresh rupa/z z.sh
fresh shell/functions/z.sh
fresh robbyrussell/oh-my-zsh lib/edit-command-line.zsh --ref=a38774c
fresh robbyrussell/oh-my-zsh plugins/git-flow/git-flow.plugin.zsh --ref=df30eae
fresh bjeanes/dot-files shells/zsh/lib/completion-waiting-dots.zsh
fresh rimraf/k k.sh
fresh-options
fresh zsh-users/zsh-completions src/_heroku --file=completion/_heroku --ref=779b602
fresh robbyrussell/oh-my-zsh plugins/brew/_brew --file=completion/_brew --ref=55f09f8
fresh shell/zsh/completions/_gh --file=completion/_gh
fresh thoughtbot/dotfiles zsh/completion/_ag --file=completion/_ag
fresh zsh-users/zsh-syntax-highlighting zsh-syntax-highlighting.zsh --file=vendor/zsh-syntax-highlighting.zsh
fresh zsh-users/zsh-syntax-highlighting highlighters/main/main-highlighter.zsh --file=vendor/highlighters/main/main-highlighter.zsh
fresh zsh-users/zsh-syntax-highlighting highlighters/brackets/brackets-highlighter.zsh --file=vendor/highlighters/brackets/brackets-highlighter.zsh
fresh zsh-users/zsh-syntax-highlighting .version --file=vendor/.version
fresh zsh-users/zsh-syntax-highlighting .revision-hash --file=vendor/.revision-hash
fresh shell/zsh/zsh-syntax-highlighting.zsh --file=~/.zshrc
filter_vundle_lines() {
grep -v ^Bundle
}
# Vim
fresh-options --file=~/.vimrc --marker='"'
fresh vim/leader.vim
fresh vim/plug.vim
fresh vim/config/\*
fresh vim/vimrc
fresh jasoncodes/dotfiles vim/mappings/indent.vim
fresh jasoncodes/dotfiles vim/mappings/pasteboard.vim
fresh jasoncodes/dotfiles vim/mappings/whitespace.vim --filter=filter_vundle_lines
fresh jasoncodes/dotfiles vim/config/undo.vim
fresh jasoncodes/dotfiles vim/config/auto_mkdir.vim
fresh jasoncodes/dotfiles vim/config/search.vim --filter=filter_vundle_lines
fresh jasoncodes/dotfiles vim/config/cursor.vim
fresh jasoncodes/dotfiles vim/config/bubbling.vim --filter=filter_vundle_lines
fresh jasoncodes/dotfiles vim/functions.vim
fresh jasoncodes/dotfiles vim/plugins/markdown.vim --filter=filter_vundle_lines
fresh jasoncodes/dotfiles vim/plugins/ruby.vim --filter=filter_vundle_lines
fresh hackling/dotfiles vim/keybindings/filename-to-clipboard.vim
fresh-options
fresh vim/gvimrc --file
fresh vim/colors --file=~/.vim/colors/
fresh junegunn/vim-plug plug.vim --file=~/.vim/autoload/plug.vim
fresh vim/coc-settings.json --file=~/.vim/coc-settings.json
# Shell
fresh jasoncodes/dotfiles shell/aliases/\*
fresh jasoncodes/dotfiles shell/editor.sh
fresh jasoncodes/dotfiles shell/config/filters.sh
fresh jasoncodes/dotfiles shell/config/pager.sh
fresh jasoncodes/dotfiles shell/config/heroku.sh
fresh jasoncodes/dotfiles shell/config/chruby.sh
fresh jasoncodes/dotfiles shell/config/tmux.sh
fresh jasoncodes/dotfiles shell/functions/realpath.sh
if type nodenv &> /dev/null; then
fresh shell/nodenv.sh
fi
fresh shell/exports.sh
fresh shell/aliases/\*
fresh shell/functions/\*
fresh shell/asdf.sh
# bin
fresh-options --bin
fresh bin/\*
fresh twe4ked/catacomb bin/catacomb
fresh twe4ked/twitter-whois bin/twitter-whois
fresh jasoncodes/dotfiles bin/\*
fresh jasoncodes/dotfiles bin/wemux/\*
fresh pengwynn/dotfiles bin/git-go
fresh defunkt/repl bin/repl
fresh garybernhardt/selecta selecta
fresh garybernhardt/dotfiles bin/field
fresh garybernhardt/dotfiles bin/run-command-on-git-revisions
fresh pengwynn/dotfiles bin/git-pr
fresh pengwynn/dotfiles bin/mx
fresh sj26/git-buildkite git-buildkite
fresh gnachman/iTerm2 tests/imgcat
if type gawk &> /dev/null; then
fresh numcommand/num bin/num
fi
fresh fidian/ansi ansi
fresh-options
fresh sivel/speedtest-cli speedtest.py --bin=~/bin/speedtest
fresh rauchg/wifi-password wifi-password.sh --bin=~/bin/wifi-password
fresh dokku/dokku contrib/dokku_client.sh --bin=~/bin/dokku
fresh chendo/airchat airchat.rb --bin=~/bin/airchat
fresh_after_build() {
if which chflags &> /dev/null; then
chflags hidden ~/bin
fi
if [[ ! -L ~/bin/diff-highlight ]]; then
if [[ -x /opt/homebrew/share/git-core/contrib/diff-highlight/diff-highlight ]]; then
ln -s /opt/homebrew/share/git-core/contrib/diff-highlight/diff-highlight ~/bin/diff-highlight
else
echo "WARNING: Cannot find diff-highlight executable from homebrew git installation."
fi
fi
}