Mon, 07 Feb 2022 23:45:51 -0600
include gvimrc
837 | 1 | # vim: ft=bash |
174
d94a247836c8
move some basics into a common profile
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
2 | # 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
|
3 | |
890
fe8cbacbbb5d
Fix ssh-config fallback
Meredith Howard <mhoward@roomag.org>
parents:
851
diff
changeset
|
4 | make -s -C ~/.ssh || { |
fe8cbacbbb5d
Fix ssh-config fallback
Meredith Howard <mhoward@roomag.org>
parents:
851
diff
changeset
|
5 | umask 077 |
fe8cbacbbb5d
Fix ssh-config fallback
Meredith Howard <mhoward@roomag.org>
parents:
851
diff
changeset
|
6 | cat ~/.ssh/config.d/* > ~/.ssh/config |
fe8cbacbbb5d
Fix ssh-config fallback
Meredith Howard <mhoward@roomag.org>
parents:
851
diff
changeset
|
7 | } |
543 | 8 | |
890
fe8cbacbbb5d
Fix ssh-config fallback
Meredith Howard <mhoward@roomag.org>
parents:
851
diff
changeset
|
9 | umask 027 |
479
2b08e0404a8d
Allow local ssh configs
Meredith Howard <mhoward@roomag.org>
parents:
438
diff
changeset
|
10 | |
756 | 11 | export MANPATH=$HOME/.man: |
12 | ||
174
d94a247836c8
move some basics into a common profile
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
13 | export EDITOR=vim |
514 | 14 | export SUDO_EDITOR=$HOME/bin/privim |
506 | 15 | export LESS='Ri' |
749 | 16 | export GPG_TTY="$(tty)" |
696 | 17 | |
233
e31c379b5bda
no reinstall default for cpanm
Meredith Howard <mhoward@roomag.org>
parents:
179
diff
changeset
|
18 | export PERL_CPANM_OPT='-nq --prompt' |
174
d94a247836c8
move some basics into a common profile
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
19 | export DEVEL_REPL_PROFILE='Standard' |
d94a247836c8
move some basics into a common profile
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
20 | |
696 | 21 | export ASDF_CONCURRENCY='2' |
22 | export RUBY_EXTRA_CONFIGURE_OPTIONS="--enable-shared --enable-install-doc" | |
23 | ||
851
b8501cb649b6
automatically try to pick up local::lib
Meredith Howard <mhoward@roomag.org>
parents:
837
diff
changeset
|
24 | if [ -d ~/perl5/lib ]; then |
b8501cb649b6
automatically try to pick up local::lib
Meredith Howard <mhoward@roomag.org>
parents:
837
diff
changeset
|
25 | eval "$(perl -Mlocal::lib)" |
b8501cb649b6
automatically try to pick up local::lib
Meredith Howard <mhoward@roomag.org>
parents:
837
diff
changeset
|
26 | fi |
b8501cb649b6
automatically try to pick up local::lib
Meredith Howard <mhoward@roomag.org>
parents:
837
diff
changeset
|
27 | |
b8501cb649b6
automatically try to pick up local::lib
Meredith Howard <mhoward@roomag.org>
parents:
837
diff
changeset
|
28 | if [ -d ~/.asdf ]; then |
b8501cb649b6
automatically try to pick up local::lib
Meredith Howard <mhoward@roomag.org>
parents:
837
diff
changeset
|
29 | source ~/.asdf/asdf.sh |
b8501cb649b6
automatically try to pick up local::lib
Meredith Howard <mhoward@roomag.org>
parents:
837
diff
changeset
|
30 | fi |
b8501cb649b6
automatically try to pick up local::lib
Meredith Howard <mhoward@roomag.org>
parents:
837
diff
changeset
|
31 | |
835
49826fe1c850
pluck just a few things from omz common-aliases
Meredith Howard <mhoward@roomag.org>
parents:
756
diff
changeset
|
32 | alias l='ls -lFh' #size,show type,human readable |
49826fe1c850
pluck just a few things from omz common-aliases
Meredith Howard <mhoward@roomag.org>
parents:
756
diff
changeset
|
33 | alias la='ls -lAFh' #long list,show almost all,show type,human readable |
49826fe1c850
pluck just a few things from omz common-aliases
Meredith Howard <mhoward@roomag.org>
parents:
756
diff
changeset
|
34 | alias lt='ls -ltFh' #long list,sorted by date,show type,human readable |
49826fe1c850
pluck just a few things from omz common-aliases
Meredith Howard <mhoward@roomag.org>
parents:
756
diff
changeset
|
35 | alias ll='ls -l' #long list |
49826fe1c850
pluck just a few things from omz common-aliases
Meredith Howard <mhoward@roomag.org>
parents:
756
diff
changeset
|
36 | alias rm='rm -i' |
49826fe1c850
pluck just a few things from omz common-aliases
Meredith Howard <mhoward@roomag.org>
parents:
756
diff
changeset
|
37 | alias cp='cp -i' |
49826fe1c850
pluck just a few things from omz common-aliases
Meredith Howard <mhoward@roomag.org>
parents:
756
diff
changeset
|
38 | alias mv='mv -i' |
49826fe1c850
pluck just a few things from omz common-aliases
Meredith Howard <mhoward@roomag.org>
parents:
756
diff
changeset
|
39 | |
174
d94a247836c8
move some basics into a common profile
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
40 | alias hgcd='cd $(hg root)' |
179 | 41 | 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
|
42 | |
438 | 43 | alias tmux-env='eval "$(tmux show-environment -s)"' |
339 | 44 | alias :e=vim |
45 | alias :q=exit | |
46 | ||
174
d94a247836c8
move some basics into a common profile
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
47 | if [ -f ~/.profile.common.local ]; then |
d94a247836c8
move some basics into a common profile
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
48 | source ~/.profile.common.local |
d94a247836c8
move some basics into a common profile
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
49 | fi |