3 # Setup script for shell configuration files.
8 # Generate ~/.less with lesskey.
11 # As screen-256color is not widely supported use it only on machines known to
13 generate cat screenrc .in
14 if [ `hostname` != asp ]; then
15 sed 's/Enable 256 color/Disable 256 color/;
16 s/screen-256color/screen/' screenrc > screenrc.tmp
17 mv screenrc.tmp screenrc
20 # Link setup for shells.
23 link bash/rc ~/.bashrc
24 link bash/profile ~/.bash_profile
25 link bash/logout ~/.bash_logout
27 link zsh/env ~/.zshenv
29 link zsh/logout ~/.zlogout
31 # Link setup for additional files.
32 if installed colordiff; then
33 link colordiffrc ~/.colordiffrc
35 link inputrc ~/.inputrc
36 link screenrc ~/.screenrc