Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

65 lines (51 sloc) 1.674 kB
# $FreeBSD: src/share/skel/dot.shrc,v 1.3.32.1 2008/11/25 02:59:29 kensmith Exp $
#
# .shrc - bourne shell startup file
#
# This file will be used if the shell is invoked for interactive use and
# the environment variable ENV is set to this file.
#
# see also sh(1), environ(7).
#
set path = (/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin $HOME/bin)
if ( "`uname`" == 'FreeBSD' ) then
setenv PACKAGESITE "ftp://ftp.lv.freebsd.org/pub/FreeBSD/ports/"`uname -p`"/packages-"`uname -r | sed -e 's/\..*$//'`"-stable/Latest/"
endif
setenv BLOCKSIZE K
#which vim > /dev/null && setenv EDITOR vim || setenv EDITOR vi
setenv VIMRUNTIME /usr/local/share/vim/vim73
setenv LSCOLORS "DxGxGxCxBxexcxbxbxFxFb"
setenv PAGER 'less -i -m -X'
setenv XAUTHORITY $HOME/.Xauthority
setenv XDG_CONFIG_HOME $HOME/.config
# file permissions: rwxr-xr-x
#
# umask 022
#alias sudo sudo -E
alias bc bc -l
alias hexdump hexdump -C
alias less less -i -m -X
alias ls ls -FG
alias sdate date '+%Y.%m.%d'
alias ssdate date '+%Y%m%d'
alias stime date '+%s'
which mathomatic > /dev/null && alias mathomatic mathomatic -b
which scilab > /dev/null && alias scilab scilab -nwni
which when > /dev/null && alias when when --monday_first --noampm
# Read system messages
msgs -f
# Allow terminal messages
#mesg y
if ($?prompt) then
# An interactive shell -- set some stuff up
set prompt = "%n % "
set filec
set history = 100
set savehist = 100
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
Jump to Line
Something went wrong with that request. Please try again.