Thu, 14 Sep 2017 19:48:58 -0400
use strict regex ops
174
d94a247836c8
move some basics into a common profile
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
1 | # simple profile stuff that is common to both zsh and bash |
d94a247836c8
move some basics into a common profile
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
2 | |
543 | 3 | umask 027 |
4 | ||
608 | 5 | make -s -C ~/.ssh || { |
6 | cat ~/.ssh/config.d/* > ~/.ssh/config && | |
7 | chmod 600 $_ | |
8 | } | |
479
2b08e0404a8d
Allow local ssh configs
Meredith Howard <mhoward@roomag.org>
parents:
438
diff
changeset
|
9 | |
174
d94a247836c8
move some basics into a common profile
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
10 | export EDITOR=vim |
514 | 11 | export SUDO_EDITOR=$HOME/bin/privim |
506 | 12 | export LESS='Ri' |
233
e31c379b5bda
no reinstall default for cpanm
Meredith Howard <mhoward@roomag.org>
parents:
179
diff
changeset
|
13 | export PERL_CPANM_OPT='-nq --prompt' |
174
d94a247836c8
move some basics into a common profile
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
14 | export DEVEL_REPL_PROFILE='Standard' |
d94a247836c8
move some basics into a common profile
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
15 | |
d94a247836c8
move some basics into a common profile
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
16 | alias hgcd='cd $(hg root)' |
179 | 17 | alias gcd='cd "$(git rev-parse --show-toplevel)"' |
174
d94a247836c8
move some basics into a common profile
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
18 | |
438 | 19 | alias tmux-env='eval "$(tmux show-environment -s)"' |
339 | 20 | alias :e=vim |
21 | alias :q=exit | |
22 | ||
328 | 23 | if [ -d ~/.asdf ]; then |
24 | source ~/.asdf/asdf.sh | |
25 | fi | |
26 | ||
174
d94a247836c8
move some basics into a common profile
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
27 | if [ -f ~/.profile.common.local ]; then |
d94a247836c8
move some basics into a common profile
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
28 | source ~/.profile.common.local |
d94a247836c8
move some basics into a common profile
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
29 | fi |