summaryrefslogtreecommitdiffstats
path: root/share/skel
diff options
context:
space:
mode:
Diffstat (limited to 'share/skel')
-rw-r--r--share/skel/Makefile14
-rw-r--r--share/skel/dot.cshrc43
-rw-r--r--share/skel/dot.login8
-rw-r--r--share/skel/dot.login_conf7
-rw-r--r--share/skel/dot.mail_aliases13
-rw-r--r--share/skel/dot.mailrc17
-rw-r--r--share/skel/dot.profile23
-rw-r--r--share/skel/dot.rhosts9
-rw-r--r--share/skel/dot.shrc47
9 files changed, 181 insertions, 0 deletions
diff --git a/share/skel/Makefile b/share/skel/Makefile
new file mode 100644
index 0000000..ffe8015
--- /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 0000000..3e94371
--- /dev/null
+++ b/share/skel/dot.cshrc
@@ -0,0 +1,43 @@
+# $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/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 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
diff --git a/share/skel/dot.login b/share/skel/dot.login
new file mode 100644
index 0000000..b8688f9
--- /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 0000000..3c4b025
--- /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 0000000..e319ef8
--- /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 0000000..9ab6ac0
--- /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 0000000..34398ad
--- /dev/null
+++ b/share/skel/dot.profile
@@ -0,0 +1,23 @@
+# $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.
+# TERM=xterm; 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 0000000..30132d5
--- /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 0000000..ea32f35
--- /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
OpenPOWER on IntegriCloud