Fri, 13 Jun 2014 10:34:42 -0400
simplify
24
a2483b35192d
Further X session setup
Meredith Howard <mhoward@roomag.org>
parents:
23
diff
changeset
|
1 | #!/bin/bash |
a2483b35192d
Further X session setup
Meredith Howard <mhoward@roomag.org>
parents:
23
diff
changeset
|
2 | |
48
692d2b9c7958
add private bin/ to path, run urxvtd and xcompmgr always if available
Meredith Howard <mhoward@roomag.org>
parents:
45
diff
changeset
|
3 | if [ -d ~/bin ]; then |
692d2b9c7958
add private bin/ to path, run urxvtd and xcompmgr always if available
Meredith Howard <mhoward@roomag.org>
parents:
45
diff
changeset
|
4 | export PATH="$HOME/bin:$PATH" |
692d2b9c7958
add private bin/ to path, run urxvtd and xcompmgr always if available
Meredith Howard <mhoward@roomag.org>
parents:
45
diff
changeset
|
5 | fi |
692d2b9c7958
add private bin/ to path, run urxvtd and xcompmgr always if available
Meredith Howard <mhoward@roomag.org>
parents:
45
diff
changeset
|
6 | |
45 | 7 | if [ -d ~/.plenv ]; then |
8 | export PATH="$HOME/.plenv/bin:$PATH" | |
9 | eval "$( plenv init - )" | |
10 | fi | |
24
a2483b35192d
Further X session setup
Meredith Howard <mhoward@roomag.org>
parents:
23
diff
changeset
|
11 | |
45 | 12 | if [ -d ~/.rbenv ]; then |
13 | export PATH="$HOME/.rbenv/bin:$PATH" | |
14 | eval "$( rbenv init - )" | |
15 | fi | |
16 | ||
48
692d2b9c7958
add private bin/ to path, run urxvtd and xcompmgr always if available
Meredith Howard <mhoward@roomag.org>
parents:
45
diff
changeset
|
17 | |
692d2b9c7958
add private bin/ to path, run urxvtd and xcompmgr always if available
Meredith Howard <mhoward@roomag.org>
parents:
45
diff
changeset
|
18 | if [ -x /usr/bin/urxvtd ]; then |
692d2b9c7958
add private bin/ to path, run urxvtd and xcompmgr always if available
Meredith Howard <mhoward@roomag.org>
parents:
45
diff
changeset
|
19 | /usr/bin/urxvtd -q -o -f |
692d2b9c7958
add private bin/ to path, run urxvtd and xcompmgr always if available
Meredith Howard <mhoward@roomag.org>
parents:
45
diff
changeset
|
20 | fi |
692d2b9c7958
add private bin/ to path, run urxvtd and xcompmgr always if available
Meredith Howard <mhoward@roomag.org>
parents:
45
diff
changeset
|
21 | |
692d2b9c7958
add private bin/ to path, run urxvtd and xcompmgr always if available
Meredith Howard <mhoward@roomag.org>
parents:
45
diff
changeset
|
22 | if [ -x /usr/bin/xcompmgr ]; then |
692d2b9c7958
add private bin/ to path, run urxvtd and xcompmgr always if available
Meredith Howard <mhoward@roomag.org>
parents:
45
diff
changeset
|
23 | /usr/bin/xcompmgr -n &>/dev/null </dev/null & |
692d2b9c7958
add private bin/ to path, run urxvtd and xcompmgr always if available
Meredith Howard <mhoward@roomag.org>
parents:
45
diff
changeset
|
24 | fi |
692d2b9c7958
add private bin/ to path, run urxvtd and xcompmgr always if available
Meredith Howard <mhoward@roomag.org>
parents:
45
diff
changeset
|
25 | |
692d2b9c7958
add private bin/ to path, run urxvtd and xcompmgr always if available
Meredith Howard <mhoward@roomag.org>
parents:
45
diff
changeset
|
26 | |
45 | 27 | if [ -r ~/.xsessionrc.local ]; then |
28 | . ~/.xsessionrc.local | |
29 | fi | |
24
a2483b35192d
Further X session setup
Meredith Howard <mhoward@roomag.org>
parents:
23
diff
changeset
|
30 |