diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2011-04-14 20:15:15 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2011-04-14 20:15:15 -0400 |
commit | 71d6c6353ea110f549513eba3b37707db5d8b013 (patch) | |
tree | e83492c836efa6197d6215f3b1ada4034eb9551f /bin/v-www-browser | |
parent | 7012f13bc2cf2af18f0ea251136fa5a6c3420444 (diff) |
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.
Diffstat (limited to 'bin/v-www-browser')
-rwxr-xr-x | bin/v-www-browser | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/bin/v-www-browser b/bin/v-www-browser new file mode 100755 index 0000000..005b7a1 --- /dev/null +++ b/bin/v-www-browser @@ -0,0 +1,7 @@ +#!/bin/sh + +if [ -n "$DISPLAY" ]; then + x-www-browser $@ +else + www-browser $@ +fi |