Skip to content

Instantly share code, notes, and snippets.

@niceume
Last active April 8, 2021 22:20
Show Gist options
  • Save niceume/6948745 to your computer and use it in GitHub Desktop.
Save niceume/6948745 to your computer and use it in GitHub Desktop.
.cshrc
#
# Written by niceume
# 2013 July. 11
#
# also refer to src/share/skel/dot.cshrc
# .cshrc - csh resource script, read at beginning of execution by each shell
# see also csh(1), environ(7).
# Shell variable
set path = (/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin /usr/X11R6/bin /usr/local/linux-sun-jdk1.4.0/bin $HOME/bin)
set manpath = (/usr/local/man /usr/local/X11R6/man /usr/share/man)
set ignoreof
set rmstar
set prompt='%n@%m%# '
set history=100
set autolist
set matchbeep=never
set correct=cmd # When running command and mistyping, shell asks the correct one.
set notify
umask 066 # permission
# Environment variable
setenv LANG 'ja_JP.eucJP' # From FreeBSD4.6 => ja_JP.eucJP
setenv LC_TIME C
setenv EDITOR vi
setenv BLOCKSIZE K
setenv JSERVER localhost
# Set Alias
alias navi2ch 'emacs -e navi2ch -geometry 70x45 -name "navi2ch (^_^)"'
alias h history 25
alias j jobs -l
alias la ls -a
alias lf ls -FA
alias ll ls -lA
if ( $?tcsh ) then
bindkey "^W" backward-delete-word
bindkey -k up history-search-backward
bindkey -k down history-search-forward
endif
# For system setting FreeBSD
alias pkg_cert_from_pcbsd_92 'fetch http://trac.pcbsd.org/export/780f3da562b72643c04b47a59d277102a09abbca/src-sh/pc-extractoverlay/desktop-overlay/usr/local/etc/pkg-pubkey.cert'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment