X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=setup.sh;h=8873bf601137bcd78511472159609b6198fbe9f1;hb=647db2586be6478d0892fc20994135d748460a80;hp=51074e244875d53305688e700662d003c6f9e30d;hpb=614f9080ac810a2f4c0a5244bca856f3358e625e;p=config%2Fdotfiles.git diff --git a/setup.sh b/setup.sh index 51074e2..8873bf6 100755 --- a/setup.sh +++ b/setup.sh @@ -22,6 +22,11 @@ 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 @@ -63,6 +68,9 @@ if [ ! -d /sys/class/power_supply/BAT0 ]; then mv screenrc.tmp screenrc fi +# Htop overwrites the comments in its configuration file. +generate cat htoprc .in + # Link setup for shells. link shell ~/.shell link bash ~/.bash @@ -85,8 +93,12 @@ fi link inputrc ~/.inputrc link screenrc ~/.screenrc if installed tmux; then + generate perl tmux.conf ./bin/remove-continuation.pl link tmux.conf ~/.tmux.conf fi +if installed htop; then + link htoprc ~/.htoprc +fi # Create rlwrap history directory. mkdir -p shell/rlwrap