diff options
| author | Mehmet Samet Duman <yongdohyun@projecttick.org> | 2026-04-02 18:24:13 +0300 |
|---|---|---|
| committer | Mehmet Samet Duman <yongdohyun@projecttick.org> | 2026-04-02 18:24:13 +0300 |
| commit | d12e80797cf0ae7a0bd3cd0cd7948f532f3181ac (patch) | |
| tree | cfc587a5999100558888aec1b5ef5b60d424977e /corebinutils/csh/dot.cshrc | |
| parent | 2ab63a8c60f0ebd6c813b19eb540476fbe63edda (diff) | |
| parent | 9fcd5aad4bbd6e9e4e0791b193168db0bd861cb9 (diff) | |
| download | Project-Tick-d12e80797cf0ae7a0bd3cd0cd7948f532f3181ac.tar.gz Project-Tick-d12e80797cf0ae7a0bd3cd0cd7948f532f3181ac.zip | |
Add 'corebinutils/csh/' from commit '9fcd5aad4bbd6e9e4e0791b193168db0bd861cb9'
git-subtree-dir: corebinutils/csh
git-subtree-mainline: 2ab63a8c60f0ebd6c813b19eb540476fbe63edda
git-subtree-split: 9fcd5aad4bbd6e9e4e0791b193168db0bd861cb9
Diffstat (limited to 'corebinutils/csh/dot.cshrc')
| -rw-r--r-- | corebinutils/csh/dot.cshrc | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/corebinutils/csh/dot.cshrc b/corebinutils/csh/dot.cshrc new file mode 100644 index 0000000000..3d1ddb094c --- /dev/null +++ b/corebinutils/csh/dot.cshrc @@ -0,0 +1,45 @@ +# +# .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 + +# read(2) of directories may not be desirable by default, as this will provoke +# EISDIR errors from each directory encountered. +# alias grep grep -d skip + +# 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 + +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 |
