This prevents cluttering ~/.
# Run urlview on current screen content. Very useful to follow links. Make
# sure hardcopy_append is off before using this command.
-bind ^B eval "hardcopy $HOME/.screen-urlview" "screen urlview $HOME/.screen-urlview"
+bind ^B eval "hardcopy $HOME/.tmp/screen-urlview" "screen urlview $HOME/.tmp/screen-urlview"
hostname=`hostname`
+# Create private temporary directory used by many tools (including GNU screen
+# and tmux).
+mkdir -p ~/.tmp
+chmod 0700 ~/.tmp
+
# Generate ~/.less with lesskey.
lesskey lesskey
chmod 0600 ~/.less