diff options
Diffstat (limited to 'share/skel')
-rw-r--r-- | share/skel/Makefile | 14 | ||||
-rw-r--r-- | share/skel/dot.cshrc | 34 | ||||
-rw-r--r-- | share/skel/dot.login | 8 | ||||
-rw-r--r-- | share/skel/dot.login_conf | 7 | ||||
-rw-r--r-- | share/skel/dot.mail_aliases | 13 | ||||
-rw-r--r-- | share/skel/dot.mailrc | 17 | ||||
-rw-r--r-- | share/skel/dot.profile | 24 | ||||
-rw-r--r-- | share/skel/dot.rhosts | 9 | ||||
-rw-r--r-- | share/skel/dot.shrc | 47 |
9 files changed, 173 insertions, 0 deletions
diff --git a/share/skel/Makefile b/share/skel/Makefile new file mode 100644 index 000000000000..ffe80152eeaf --- /dev/null +++ b/share/skel/Makefile @@ -0,0 +1,14 @@ +# @(#)Makefile 8.1 (Berkeley) 6/8/93 +# $FreeBSD$ + +FILESGROUPS= FILES1 FILES2 +FILES1= dot.cshrc dot.login dot.login_conf dot.mailrc dot.profile \ + dot.shrc +FILES2= dot.mail_aliases dot.rhosts +FILES1DIR= /usr/share/skel +FILES2DIR= /usr/share/skel +FILES1MODE= 0644 +FILES2MODE= 0600 +NO_OBJ= + +.include <bsd.prog.mk> diff --git a/share/skel/dot.cshrc b/share/skel/dot.cshrc new file mode 100644 index 000000000000..5fa231979148 --- /dev/null +++ b/share/skel/dot.cshrc @@ -0,0 +1,34 @@ +# $FreeBSD$ +# +# .cshrc - csh resource script, read at beginning of execution by each shell +# +# see also csh(1), environ(7). +# + +alias h history 25 +alias j jobs -l +alias la ls -a +alias lf ls -FA +alias ll ls -lA + +# A righteous umask +umask 22 + +set path = (/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin $HOME/bin) + +setenv EDITOR vi +setenv PAGER more +setenv BLOCKSIZE K + +if ($?prompt) then + # An interactive shell -- set some stuff up + 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 diff --git a/share/skel/dot.login b/share/skel/dot.login new file mode 100644 index 000000000000..b8688f98446e --- /dev/null +++ b/share/skel/dot.login @@ -0,0 +1,8 @@ +# $FreeBSD$ +# +# .login - csh login script, read by login shell, after `.cshrc' at login. +# +# see also csh(1), environ(7). +# + +if ( -x /usr/games/fortune ) /usr/games/fortune freebsd-tips diff --git a/share/skel/dot.login_conf b/share/skel/dot.login_conf new file mode 100644 index 000000000000..3c4b025f2000 --- /dev/null +++ b/share/skel/dot.login_conf @@ -0,0 +1,7 @@ +# $FreeBSD$ +# +# see login.conf(5) +# +#me:\ +# :charset=iso-8859-1:\ +# :lang=de_DE.ISO8859-1: diff --git a/share/skel/dot.mail_aliases b/share/skel/dot.mail_aliases new file mode 100644 index 000000000000..e319ef8e7982 --- /dev/null +++ b/share/skel/dot.mail_aliases @@ -0,0 +1,13 @@ +# $FreeBSD$ +# +# .mail_aliases - private mail aliases +# +# see also mail(1) +# + +# FreeBSD Mailing lists aliases +# alias freebsd-bugs freebsd-bugs@FreeBSD.org +# alias freebsd-questions freebsd-questions@FreeBSD.org + +# an alias for your good friends +# alias bicycle christoph gerhardt velophil zentralrad diff --git a/share/skel/dot.mailrc b/share/skel/dot.mailrc new file mode 100644 index 000000000000..9ab6ac0c8e8c --- /dev/null +++ b/share/skel/dot.mailrc @@ -0,0 +1,17 @@ +# $FreeBSD$ +# +# .mailrc - mail resources +# +# see also mail(1) +# + +set append ask autoprint +set indentprefix="> " +set PAGER=more +set EDITOR=vi +set VISUAL=vi +set folder=Mail +retain bcc cc date from subject to + +# include your private mail aliases +source ~/.mail_aliases diff --git a/share/skel/dot.profile b/share/skel/dot.profile new file mode 100644 index 000000000000..3a8bd3eb5d70 --- /dev/null +++ b/share/skel/dot.profile @@ -0,0 +1,24 @@ +# $FreeBSD$ +# +# .profile - Bourne Shell startup script for login shells +# +# see also sh(1), environ(7). +# + +# remove /usr/games if you want +PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:$HOME/bin; export PATH + +# Setting TERM is normally done through /etc/ttys. Do only override +# if you're sure that you'll never log in via telnet or xterm or a +# serial line. +# Use cons25l1 for iso-* fonts +# TERM=cons25; export TERM + +BLOCKSIZE=K; export BLOCKSIZE +EDITOR=vi; export EDITOR +PAGER=more; export PAGER + +# set ENV to a file invoked each time sh is started for interactive use. +ENV=$HOME/.shrc; export ENV + +if [ -x /usr/games/fortune ] ; then /usr/games/fortune freebsd-tips ; fi diff --git a/share/skel/dot.rhosts b/share/skel/dot.rhosts new file mode 100644 index 000000000000..30132d57c4be --- /dev/null +++ b/share/skel/dot.rhosts @@ -0,0 +1,9 @@ +# $FreeBSD$ +# +# .rhosts - trusted remote host name and user data base +# +# see hosts.equiv(5), rsh(1), rlogin(1), rcp(1) +# +# This file should NOT be group or other readable. +# OtherMachine +# OtherMachine myFriend diff --git a/share/skel/dot.shrc b/share/skel/dot.shrc new file mode 100644 index 000000000000..73491698e8e7 --- /dev/null +++ b/share/skel/dot.shrc @@ -0,0 +1,47 @@ +# $FreeBSD$ +# +# .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). +# + + +# file permissions: rwxr-xr-x +# +# umask 022 + +# Enable the builtin emacs(1) command line editor in sh(1), +# e.g. C-a -> beginning-of-line. +set -o emacs + +# Uncomment this and comment the above to enable the builtin vi(1) command +# line editor in sh(1), e.g. ESC to go into visual mode. +# set -o vi + + +# some useful aliases +alias h='fc -l' +alias j=jobs +alias m=$PAGER +alias ll='ls -laFo' +alias l='ls -l' +alias g='egrep -i' + +# # be paranoid +# alias cp='cp -ip' +# alias mv='mv -i' +# alias rm='rm -i' + + +# # set prompt: ``username@hostname$ '' +# PS1="`whoami`@`hostname | sed 's/\..*//'`" +# case `id -u` in +# 0) PS1="${PS1}# ";; +# *) PS1="${PS1}$ ";; +# esac + +# search path for cd(1) +# CDPATH=.:$HOME |