.xsessionrc

Sun, 06 Sep 2015 16:00:49 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Sun, 06 Sep 2015 16:00:49 -0400
changeset 198
a4b45bcb4ba9
parent 154
72e18304b485
child 161
f44901f85f39
child 270
dda2a7f4d485
permissions
-rw-r--r--

add ctags helper and alias

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
68940b625e5e x session fixup
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
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
68940b625e5e x session fixup
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
7 if [ -d ~/.plenv ]; then
68940b625e5e x session fixup
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
8 export PATH="$HOME/.plenv/bin:$PATH"
68940b625e5e x session fixup
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
9 eval "$( plenv init - )"
68940b625e5e x session fixup
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
10 fi
68940b625e5e x session fixup
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
11
68940b625e5e x session fixup
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
12 if [ -d ~/.rbenv ]; then
68940b625e5e x session fixup
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
13 export PATH="$HOME/.rbenv/bin:$PATH"
68940b625e5e x session fixup
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
14 eval "$( rbenv init - )"
68940b625e5e x session fixup
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
15 fi
68940b625e5e x session fixup
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
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
68940b625e5e x session fixup
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
33 if [ -r ~/.xsessionrc.local ]; then
68940b625e5e x session fixup
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
34 . ~/.xsessionrc.local
68940b625e5e x session fixup
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
35 fi
68940b625e5e x session fixup
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
36

mercurial