.xsessionrc

Sat, 20 Sep 2014 14:14:04 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Sat, 20 Sep 2014 14:14:04 -0400
changeset 144
46c87d5ef8bf
parent 69
b33d2188bfb9
child 70
431128b5fa0c
child 154
72e18304b485
permissions
-rw-r--r--

Add option to source vimrc.local-pre, for adding Plugins near the beginning

#!/bin/bash

if [ -d ~/bin ]; then
  export PATH="$HOME/bin:$PATH"
fi

if [ -d ~/.plenv ]; then
  export PATH="$HOME/.plenv/bin:$PATH"
  eval "$( plenv init - )"
fi

if [ -d ~/.rbenv ]; then
  export PATH="$HOME/.rbenv/bin:$PATH"
  eval "$( rbenv init - )"
fi


if [ -x /usr/bin/xcompmgr ]; then
  /usr/bin/xcompmgr -n &>/dev/null </dev/null &
fi

/usr/bin/xmodmap ~/.xmodmaprc

if [ -r ~/.Xdefaults.local ]; then
  /usr/bin/xrdb -quiet -merge -DUSE_LOCAL ~/.Xdefaults
fi

if [ -x /usr/bin/urxvtd ]; then
  /usr/bin/urxvtd -q -o -f
fi

if [ -r ~/.xsessionrc.local ]; then
  . ~/.xsessionrc.local
fi

mercurial