No longer ship /etc/skel/.kshrc [Closes: issue2160]
authorMichael Prokop <mika@grml.org>
Thu, 4 Feb 2016 10:05:36 +0000 (11:05 +0100)
committerMichael Prokop <mika@grml.org>
Thu, 4 Feb 2016 10:05:36 +0000 (11:05 +0100)
The ksh package also ships the file /etc/skel/.kshrc and
therefore package installation of grml-etc together with ksh
files.

We didn't have any real changes in our file for more than
10 years. If someone is interested in getting a proper
kshrc within Grml/grml-etc we can re-evaluate our options
before getting in the darkā„¢ with dpkg-diverting another
configuration file.

etc/skel/.kshrc [deleted file]

diff --git a/etc/skel/.kshrc b/etc/skel/.kshrc
deleted file mode 100644 (file)
index a329393..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-# Filename:      .kshrc
-# Purpose:       configuration file for the korn shell
-# Authors:       grml-team (grml.org), (c) Matthias Kopfermann <maddi@grml.org>, (c) Michael Prokop <mika@grml.org
-# Bug-Reports:   see http://grml.org/bugs/
-# License:       This file is licensed under the GPL v2.
-# Latest change: Son Nov 12 12:00:23 CET 2006 [mika]
-################################################################################
-
-# ksh93 requires an editor
-  set -o emacs
-
-# The $() has to be done to work around a bug in ksh that
-# isn't able to substitute with // inside the $HOME variable to have ~/
-# The control-character in the prompt is sadly neccessary foR
-# color to be not disturbing for the command line editor.
-[[ $USER != root ]] && PS1='\ f\e[1;34m'"\
-\$USER\ f\e[0m\ f@\$HOSTNAME \$(echo \$PWD | sed s,/home/\$USER,~,) $ "
-
-[[ $USER  = root ]] && PS1='\ f\e[1;31m'"\$USER\ f\e[\ f0m@\$HOSTNAME \$(
-       if [[ $PWD = /root/* ]] ; then
-               echo \$PWD|sed s,/root/,~/,
-       elif [[ $PWD = /root ]] ; then
-               echo \$PWD|sed s,/root,\~,
-       fi
-)# "
-
-  export PS1
-  alias ls='ls --color -F -trA'
-  ff() { cd $1 && ls ; }
-  alias md='mkdir -p'
-
-## END OF FILE #################################################################