summaryrefslogtreecommitdiff
path: root/.xsessionrc
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2017-11-30 10:45:58 -0700
committerSean Whitton <spwhitton@spwhitton.name>2017-11-30 10:45:58 -0700
commit17ecc5dc57a9001319747a6bb6c1ebb99f7b31f8 (patch)
tree275891eefb7aad73ff5400cff2a1d63d3cfbc6c9 /.xsessionrc
parenteb35df694ce6c65572c03ebe60c961fcc9dfb00a (diff)
downloaddotfiles-17ecc5dc57a9001319747a6bb6c1ebb99f7b31f8.tar.gz
try setting $PATH in ~/.xsessionrc
Diffstat (limited to '.xsessionrc')
-rwxr-xr-x.xsessionrc13
1 files changed, 13 insertions, 0 deletions
diff --git a/.xsessionrc b/.xsessionrc
new file mode 100755
index 00000000..10fbc75e
--- /dev/null
+++ b/.xsessionrc
@@ -0,0 +1,13 @@
+#umask 022
+
+# --- $PATH
+
+if [ -d "$HOME/bin" ] ; then
+ PATH="$HOME/bin:$PATH"
+ export PATH
+fi
+
+if [ -d "$HOME/local/bin" ] ; then
+ PATH="$HOME/local/bin:$PATH"
+ export PATH
+fi