summaryrefslogtreecommitdiff
path: root/bin/csh
diff options
context:
space:
mode:
authorBrad Davis <brd@FreeBSD.org>2018-08-15 23:18:34 +0000
committerBrad Davis <brd@FreeBSD.org>2018-08-15 23:18:34 +0000
commit3349f8bb8f35b9aa39b01b8ccfd88f4e2e21ebb5 (patch)
treef929de060ce395932d85e5d283353c6d3d7e5a3b /bin/csh
parent799bbc25b9c66ef5b561d9fa63cf3164508c31b4 (diff)
downloadsrc-test2-3349f8bb8f35b9aa39b01b8ccfd88f4e2e21ebb5.tar.gz
src-test2-3349f8bb8f35b9aa39b01b8ccfd88f4e2e21ebb5.zip
Notes
Diffstat (limited to 'bin/csh')
-rw-r--r--bin/csh/Makefile12
-rw-r--r--bin/csh/dot.cshrc43
2 files changed, 1 insertions, 54 deletions
diff --git a/bin/csh/Makefile b/bin/csh/Makefile
index 6abf35076c48..3aaa50d4a648 100644
--- a/bin/csh/Makefile
+++ b/bin/csh/Makefile
@@ -8,11 +8,8 @@
.include <src.opts.mk>
-CONFGROUPS= ETC ROOT
+CONFGROUPS= ETC
ETC= csh.cshrc csh.login csh.logout
-ROOT= dot.cshrc
-ROOTDIR= /root
-ROOTNAME= .cshrc
PACKAGE=runtime
TCSHDIR= ${SRCTOP}/contrib/tcsh
.PATH: ${TCSHDIR}
@@ -153,11 +150,4 @@ tc.const.h: tc.const.c sh.char.h config.h config_f.h sh.types.h sh.err.h ${BUILD
sort >> ${.TARGET}
@echo '#endif /* _h_tc_const */' >> ${.TARGET}
-beforeinstall:
- rm -f ${DESTDIR}/.cshrc
-
-afterinstallconfig:
- sed -i "" -e 's;/bin/sh;/bin/csh;' ${DESTDIR}/etc/master.passwd
- pwd_mkdb -i -p -d ${DESTDIR}/etc ${DESTDIR}/etc/master.passwd
-
.include <bsd.prog.mk>
diff --git a/bin/csh/dot.cshrc b/bin/csh/dot.cshrc
deleted file mode 100644
index 1fcc9917f0f9..000000000000
--- a/bin/csh/dot.cshrc
+++ /dev/null
@@ -1,43 +0,0 @@
-# $FreeBSD$
-#
-# .cshrc - csh resource script, read at beginning of execution by each shell
-#
-# see also csh(1), environ(7).
-# more examples available at /usr/share/examples/csh/
-#
-
-alias h history 25
-alias j jobs -l
-alias la ls -aF
-alias lf ls -FA
-alias ll ls -lAF
-
-# A righteous umask
-umask 22
-
-set path = (/sbin /bin /usr/sbin /usr/bin /usr/local/sbin /usr/local/bin $HOME/bin)
-
-setenv EDITOR vi
-setenv PAGER less
-setenv BLOCKSIZE K
-
-if ($?prompt) then
- # An interactive shell -- set some stuff up
- set prompt = "%N@%m:%~ %# "
- set promptchars = "%#"
-
- set filec
- set history = 1000
- set savehist = (1000 merge)
- set autolist = ambiguous
- # Use history to aid expansion
- set autoexpand
- set autorehash
- set mail = (/var/mail/$USER)
- if ( $?tcsh ) then
- bindkey "^W" backward-delete-word
- bindkey -k up history-search-backward
- bindkey -k down history-search-forward
- endif
-
-endif