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