--- a/.xsessionrc +++ b/.xsessionrc @@ -1,25 +1,11 @@ -#!/usr/bin/env bash - -if [ -d ~/bin ]; then - export PATH="$HOME/bin:$PATH" -fi +#!/bin/bash -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 - +source .bashrc if [ "$(uname -s)" = "OpenBSD" ]; then PATH="/usr/X11R6/bin:$PATH" fi - xcompmgr -n &>/dev/null </dev/null & xmodmap ~/.xmodmaprc