From 71d6c6353ea110f549513eba3b37707db5d8b013 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Thu, 14 Apr 2011 20:15:15 -0400 Subject: Fiddle with .profile, add a v-www-browser script, configure browse-url in .emacs Move login-stuff from `.bashrc' to `.profile', which loads `.bashrc' if it is a bash shell (hopefully). Add `.Xsession', wich includes `.profile'. `bin/v-www-browser' (technically not a dotfile), is a script that loads either www-browser or x-www-browser, depending on if we're using X11 or not (really, whether $DISPLAY is set). `.emacs' was edited to have browse-url run v-www-browser instead of www-browser. --- .profile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .profile (limited to '.profile') diff --git a/.profile b/.profile new file mode 100644 index 0000000..f483ba3 --- /dev/null +++ b/.profile @@ -0,0 +1,14 @@ +# ~/.profile: executed by bash(1) for login shells. +# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) +# for examples. + +# I include this in all login environements, bash(1) or not + +export PATH=$HOME/bin:$PATH + +# The rest is for bash(1) logins only +if [ -n "$SHLVL" ]; then + if [ -f "$HOME/.bashrc" ]; then + . "$HOME/.bashrc" + fi +fi -- cgit v1.2.3-54-g00ecf