diff options
Diffstat (limited to 'cygwin/postinstall.sh')
-rwxr-xr-x | cygwin/postinstall.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/cygwin/postinstall.sh b/cygwin/postinstall.sh new file mode 100755 index 0000000000000..017f3fba6fa14 --- /dev/null +++ b/cygwin/postinstall.sh @@ -0,0 +1,12 @@ +#!/bin/bash +rm -f /usr/bin/csh /usr/bin/csh.exe /usr/bin/csh.lnk /usr/share/man/man1/csh.1* +cd /bin +ln -s tcsh csh +cd /usr/share/man/man1 +ln -s tcsh.1 csh.1 +[ -e /etc/csh.cshrc ] || cp /etc/defaults/etc/csh.cshrc /etc +[ -e /etc/csh.login ] || cp /etc/defaults/etc/csh.login /etc +[ -e /etc/profile.d/bindkey.tcsh ] || \ + cp /etc/defaults/etc/profile.d/bindkey.tcsh /etc/profile.d +[ -e /etc/profile.d/complete.tcsh ] || \ + cp /etc/defaults/etc/profile.d/complete.tcsh /etc/profile.d |