-
Notifications
You must be signed in to change notification settings - Fork 0
/
freshrc
101 lines (84 loc) · 2.44 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
# 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.
if [[ "$(uname)" == "Darwin" ]]; then
git_credential_helper=osxkeychain
else
git_credential_helper=cache
fi
#fresh freshshell/fresh bin/fresh --bin
fresh freshshell/fresh bin/fresh --bin=~/.bin/fresh
# Config
fresh-options --file
fresh config/\*
fresh-options
# git
fresh git/gitconfig --file --filter="sed 's+git_credential_helper+${git_credential_helper}+g'"
fresh git/gitignore --file
# Antigen (zsh plugin manager)
fresh zsh-users/antigen antigen.zsh --file=~/.antigen/antigen.zsh
# # prezto
# fresh sorin-ionescu/prezto . --file=~/.zprezto/
# # zpreztorc
# fresh shell/zsh/zpreztorc --file=~/.zpreztorc
# zshrc
fresh-options --file=~/.zshrc --marker --ignore-missing
# Antigen
fresh shell/zsh/antigen
# prezto
# fresh sorin-ionescu/prezto runcoms/zshrc
# fresh
fresh freshshell/fresh contrib/source-build.sh
# other
fresh shell/aliases
fresh shell/zsh/zshrc
fresh-options
# # zlogin
# fresh-options --file=~/.zlogin --marker --ignore-missing
# # prezto
# fresh sorin-ionescu/prezto runcoms/zlogin
# # other
# fresh shell/zsh/zlogin
# fresh-options
# # zlogout
# fresh-options --file=~/.zlogout --marker --ignore-missing
# # prezto
# fresh sorin-ionescu/prezto runcoms/zlogout
# # other
# fresh-options
# # zprofile
# fresh-options --file=~/.zprofile --marker --ignore-missing
# # prezto
# fresh sorin-ionescu/prezto runcoms/zprofile
# # other
# fresh-options
# # zshenv
# fresh-options --file=~/.zshenv --marker --ignore-missing
# # prezto
# fresh sorin-ionescu/prezto runcoms/zshenv
# # other
# fresh-options
# # zsh-autosuggestions
# fresh tarruda/zsh-autosuggestions . --file=~/.zsh-autosuggestions/
# altercation/solarized
fresh altercation/solarized . --file=~/.solarized/
# Lokaltog/powerline-fonts
fresh Lokaltog/powerline-fonts . --file=~/.powerline-fonts/
# fresh_after_build() {
# Git submodules
# if [ -z "${updated_submodules+1}" ]; then
# cd ~/.fresh/source/sorin-ionescu/prezto/ && git pull && git submodule update --init --recursive
# export updated_submodules=0
# fi
# if [ "$updated_submodules" -eq 0 ]; then
# export updated_submodules=$[updated_submodules+1]
# ~/.fresh/build/bin/fresh
# fi
# unset updated_submodules
# }