.profile.common

Wed, 31 May 2017 15:10:35 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Wed, 31 May 2017 15:10:35 -0400
changeset 590
8d27d60a9cbc
parent 571
5dfc85243b54
child 605
96cef8773963
permissions
-rw-r--r--

color html preview at least

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
f033acea6b1e restrict umask
Meredith Howard <mhoward@roomag.org>
parents: 514
diff changeset
3 umask 027
f033acea6b1e restrict umask
Meredith Howard <mhoward@roomag.org>
parents: 514
diff changeset
4
571
Meredith Howard <mhoward@roomag.org>
parents: 545
diff changeset
5 make -s -C ~/.ssh ||
545
cd5b3906e687 add fallbacks for when make isn't around yet
Meredith Howard <mhoward@roomag.org>
parents: 543
diff changeset
6 cat .ssh/config.d/* > .ssh/config
479
2b08e0404a8d Allow local ssh configs
Meredith Howard <mhoward@roomag.org>
parents: 438
diff changeset
7
174
d94a247836c8 move some basics into a common profile
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
8 export EDITOR=vim
514
d596509d91f0 safer sudo -e
Meredith Howard <mhoward@roomag.org>
parents: 506
diff changeset
9 export SUDO_EDITOR=$HOME/bin/privim
506
2a6899f40b2e smartcase please
Meredith Howard <mhoward@roomag.org>
parents: 480
diff changeset
10 export LESS='Ri'
233
e31c379b5bda no reinstall default for cpanm
Meredith Howard <mhoward@roomag.org>
parents: 179
diff changeset
11 export PERL_CPANM_OPT='-nq --prompt'
174
d94a247836c8 move some basics into a common profile
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
12 export DEVEL_REPL_PROFILE='Standard'
d94a247836c8 move some basics into a common profile
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
13
d94a247836c8 move some basics into a common profile
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
14 alias hgcd='cd $(hg root)'
179
fe7e8d6d1853 fix gcd
Meredith Howard <mhoward@roomag.org>
parents: 174
diff changeset
15 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
16
438
862d1e79b830 add tmux-env
Meredith Howard <mhoward@roomag.org>
parents: 420
diff changeset
17 alias tmux-env='eval "$(tmux show-environment -s)"'
339
a2f7e73ea74b add :e and :q aliases
Meredith Howard <mhoward@roomag.org>
parents: 328
diff changeset
18 alias :e=vim
a2f7e73ea74b add :e and :q aliases
Meredith Howard <mhoward@roomag.org>
parents: 328
diff changeset
19 alias :q=exit
a2f7e73ea74b add :e and :q aliases
Meredith Howard <mhoward@roomag.org>
parents: 328
diff changeset
20
328
b3b18ced6949 add asdf-vm
Meredith Howard <mhoward@roomag.org>
parents: 233
diff changeset
21 if [ -d ~/.asdf ]; then
b3b18ced6949 add asdf-vm
Meredith Howard <mhoward@roomag.org>
parents: 233
diff changeset
22 source ~/.asdf/asdf.sh
b3b18ced6949 add asdf-vm
Meredith Howard <mhoward@roomag.org>
parents: 233
diff changeset
23 fi
b3b18ced6949 add asdf-vm
Meredith Howard <mhoward@roomag.org>
parents: 233
diff changeset
24
174
d94a247836c8 move some basics into a common profile
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
25 if [ -f ~/.profile.common.local ]; then
d94a247836c8 move some basics into a common profile
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
26 source ~/.profile.common.local
d94a247836c8 move some basics into a common profile
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
27 fi

mercurial