# Main bash configuration file.
#
-# Is sourced by all interactive shells and other shells like scp or rcp.
+# Is sourced by all interactive bash shells and other shells like scp or rcp.
-# Copyright (C) 2011-2012 Simon Ruderich
+# Copyright (C) 2011-2013 Simon Ruderich
#
# This file is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# Configuration file for environment related options for all shells.
-# Copyright (C) 2011-2012 Simon Ruderich
+# Copyright (C) 2011-2013 Simon Ruderich
#
# This file is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
EDITOR=vim
export EDITOR
-# Set less as pager, its configuration is done through the .less file.
+# Set less as pager, its configuration is done through the ~/.less file.
PAGER=less
export PAGER
export TMP TEMP TMPDIR
fi
-# Change rlwrap's home directory to prevent cluttering ~.
+# Change rlwrap's home directory to prevent cluttering ~/.
RLWRAP_HOME="$HOME/.shell/rlwrap"
export RLWRAP_HOME
# - To swap/renumber windows (like GNU screen's :number command) use
# :swap-window -t <number>.
-# Copyright (C) 2011-2012 Simon Ruderich
+# Copyright (C) 2011-2013 Simon Ruderich
#
# This file is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# Run urlview on the current screen content. Very useful to follow links.
# Thanks to Arch wiki (https://wiki.archlinux.org/index.php/Tmux) for the
-# basic idea.
+# basic idea how to enable this in tmux.
bind-key C-b capture-pane \; \
save-buffer ~/.tmp/tmux-urlview \; \
new-window "$SHELL -c 'urlview < ~/.tmp/tmux-urlview'"