.xsessionrc

Wed, 02 Jul 2014 15:34:02 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Wed, 02 Jul 2014 15:34:02 -0400
changeset 105
f3d684572a8f
parent 69
b33d2188bfb9
child 70
431128b5fa0c
child 154
72e18304b485
permissions
-rw-r--r--

group up autocmds so they can be cleared if vimrc is reloaded

#!/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