Mon, 07 Mar 2016 20:45:36 -0500
fix up some more
154
72e18304b485
Fixes for trying to set up profile on OpenBSD
Meredith Howard <mhoward@roomag.org>
parents:
69
diff
changeset
|
1 | #!/usr/bin/env bash |
42 | 2 | |
52
ab3e58416aa0
sync changeset 692d2b9c7958 from default
Meredith Howard <mhoward@roomag.org>
parents:
42
diff
changeset
|
3 | if [ -d ~/bin ]; then |
ab3e58416aa0
sync changeset 692d2b9c7958 from default
Meredith Howard <mhoward@roomag.org>
parents:
42
diff
changeset
|
4 | export PATH="$HOME/bin:$PATH" |
ab3e58416aa0
sync changeset 692d2b9c7958 from default
Meredith Howard <mhoward@roomag.org>
parents:
42
diff
changeset
|
5 | fi |
ab3e58416aa0
sync changeset 692d2b9c7958 from default
Meredith Howard <mhoward@roomag.org>
parents:
42
diff
changeset
|
6 | |
42 | 7 | if [ -d ~/.plenv ]; then |
8 | export PATH="$HOME/.plenv/bin:$PATH" | |
9 | eval "$( plenv init - )" | |
10 | fi | |
11 | ||
12 | if [ -d ~/.rbenv ]; then | |
13 | export PATH="$HOME/.rbenv/bin:$PATH" | |
14 | eval "$( rbenv init - )" | |
15 | fi | |
16 | ||
52
ab3e58416aa0
sync changeset 692d2b9c7958 from default
Meredith Howard <mhoward@roomag.org>
parents:
42
diff
changeset
|
17 | |
154
72e18304b485
Fixes for trying to set up profile on OpenBSD
Meredith Howard <mhoward@roomag.org>
parents:
69
diff
changeset
|
18 | if [ "$(uname -s)" = "OpenBSD" ]; then |
72e18304b485
Fixes for trying to set up profile on OpenBSD
Meredith Howard <mhoward@roomag.org>
parents:
69
diff
changeset
|
19 | PATH="/usr/X11R6/bin:$PATH" |
52
ab3e58416aa0
sync changeset 692d2b9c7958 from default
Meredith Howard <mhoward@roomag.org>
parents:
42
diff
changeset
|
20 | fi |
ab3e58416aa0
sync changeset 692d2b9c7958 from default
Meredith Howard <mhoward@roomag.org>
parents:
42
diff
changeset
|
21 | |
154
72e18304b485
Fixes for trying to set up profile on OpenBSD
Meredith Howard <mhoward@roomag.org>
parents:
69
diff
changeset
|
22 | |
72e18304b485
Fixes for trying to set up profile on OpenBSD
Meredith Howard <mhoward@roomag.org>
parents:
69
diff
changeset
|
23 | xcompmgr -n &>/dev/null </dev/null & |
72e18304b485
Fixes for trying to set up profile on OpenBSD
Meredith Howard <mhoward@roomag.org>
parents:
69
diff
changeset
|
24 | |
72e18304b485
Fixes for trying to set up profile on OpenBSD
Meredith Howard <mhoward@roomag.org>
parents:
69
diff
changeset
|
25 | xmodmap ~/.xmodmaprc |
52
ab3e58416aa0
sync changeset 692d2b9c7958 from default
Meredith Howard <mhoward@roomag.org>
parents:
42
diff
changeset
|
26 | |
56
e341df2dafda
Allow .Xdefaults.local to be included, don\'t rely on system to run xrdb -cpp
Meredith Howard <mhoward@roomag.org>
parents:
52
diff
changeset
|
27 | if [ -r ~/.Xdefaults.local ]; then |
154
72e18304b485
Fixes for trying to set up profile on OpenBSD
Meredith Howard <mhoward@roomag.org>
parents:
69
diff
changeset
|
28 | xrdb -quiet -merge -DUSE_LOCAL ~/.Xdefaults |
56
e341df2dafda
Allow .Xdefaults.local to be included, don\'t rely on system to run xrdb -cpp
Meredith Howard <mhoward@roomag.org>
parents:
52
diff
changeset
|
29 | fi |
e341df2dafda
Allow .Xdefaults.local to be included, don\'t rely on system to run xrdb -cpp
Meredith Howard <mhoward@roomag.org>
parents:
52
diff
changeset
|
30 | |
154
72e18304b485
Fixes for trying to set up profile on OpenBSD
Meredith Howard <mhoward@roomag.org>
parents:
69
diff
changeset
|
31 | urxvtd -q -o -f |
65
9c8f98eb7e1b
add xmodmap, move urxvtd until after xmodmap and defaults
Meredith Howard <mhoward@roomag.org>
parents:
57
diff
changeset
|
32 | |
42 | 33 | if [ -r ~/.xsessionrc.local ]; then |
34 | . ~/.xsessionrc.local | |
35 | fi | |
36 |