[PC-BSD Commits] r2894 - in pcbsd/trunk/system-overlay: root usr/share/skel
svn at pcbsd.org
svn at pcbsd.org
Fri Oct 10 08:19:38 PDT 2008
Author: kris
Date: 2008-10-10 08:19:37 -0700 (Fri, 10 Oct 2008)
New Revision: 2894
Added:
pcbsd/trunk/system-overlay/root/.xprofile
pcbsd/trunk/system-overlay/usr/share/skel/.cshrc
pcbsd/trunk/system-overlay/usr/share/skel/.profile
Modified:
pcbsd/trunk/system-overlay/root/.cshrc
pcbsd/trunk/system-overlay/root/.profile
pcbsd/trunk/system-overlay/usr/share/skel/.xprofile
Log:
Updated profile information to search more directories for XDG_DATA_DIRS and XDG_CONFIG_DIRS
Modified: pcbsd/trunk/system-overlay/root/.cshrc
===================================================================
--- pcbsd/trunk/system-overlay/root/.cshrc 2008-10-09 23:30:56 UTC (rev 2893)
+++ pcbsd/trunk/system-overlay/root/.cshrc 2008-10-10 15:19:37 UTC (rev 2894)
@@ -1,4 +1,4 @@
-# $FreeBSD: src/etc/root/dot.cshrc,v 1.30 2007/05/29 06:37:58 dougb Exp $
+# $FreeBSD: src/share/skel/dot.cshrc,v 1.13 2001/01/10 17:35:28 archie Exp $
#
# .cshrc - csh resource script, read at beginning of execution by each shell
#
@@ -10,19 +10,17 @@
alias la ls -a
alias lf ls -FA
alias ll ls -lA
+alias ls ls -G
# A righteous umask
umask 22
-set path = (/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/kde4/bin /usr/local/bin /Programs/bin $HOME/bin)
+set path = (/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin /usr/local/kde4/bin /Programs/bin $HOME/bin /PCBSD/local/bin /PCBSD/local/kde4/bin)
-setenv EDITOR vi
-setenv PAGER more
-setenv BLOCKSIZE K
+setenv CLICOLOR true
if ($?prompt) then
# An interactive shell -- set some stuff up
- set prompt = "`/bin/hostname -s`# "
set filec
set history = 100
set savehist = 100
@@ -33,3 +31,9 @@
bindkey -k down history-search-forward
endif
endif
+
+# Setup the XDG_DATA_DIRS variable
+setenv XDG_DATA_DIRS "/usr/local/kde4/share:/usr/share:/usr/local/share:/usr/local/share/gnome:/PCBSD/local/share:/PCBSD/local/kde4/share"
+
+# Setup the XDG_CONFIG_DIRS variable
+setenv XDG_CONFIG_DIRS "/usr/local/kde4/etc/xdg:/etc/xdg:/usr/local/etc/xdg:/usr/local/etc/xdg/xfce4:/PCBSD/local/etc/xdg:/PCBSD/local/kde4/etc/xdg"
Modified: pcbsd/trunk/system-overlay/root/.profile
===================================================================
--- pcbsd/trunk/system-overlay/root/.profile 2008-10-09 23:30:56 UTC (rev 2893)
+++ pcbsd/trunk/system-overlay/root/.profile 2008-10-10 15:19:37 UTC (rev 2894)
@@ -1,10 +1,30 @@
-# $FreeBSD: src/etc/root/dot.profile,v 1.21 2007/05/29 06:33:10 dougb Exp $
+# $FreeBSD: src/share/skel/dot.profile,v 1.21 2002/07/07 00:00:54 mp Exp $
#
-PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/kde4/bin:/usr/local/bin:/Programs/bin:~/bin
-export PATH
-HOME=/root
-export HOME
-TERM=${TERM:-cons25}
-export TERM
-PAGER=more
-export PAGER
+# .profile - Bourne Shell startup script for login shells
+#
+# see also sh(1), environ(7).
+#
+
+# remove /usr/games and /usr/X11R6/bin if you want
+PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/local/kde4/bin:/Programs/bin:$HOME/bin:/PCBSD/local/bin:/PCBSD/local/kde4/bin; export PATH
+
+# Setup the XDG_DATA_DIRS variable
+XDG_DATA_DIRS="/usr/local/kde4/share:/usr/share:/usr/local/share:/usr/local/share/gnome:/PCBSD/local/share:/PCBSD/local/kde4/share"
+export XDG_DATA_DIRS
+
+# Setup the XDG_CONFIG_DIRS variable
+XDG_CONFIG_DIRS="/usr/local/kde4/etc/xdg:/etc/xdg:/usr/local/etc/xdg:/usr/local/etc/xdg/xfce4:/PCBSD/local/etc/xdg:/PCBSD/local/kde4/etc/xdg"
+export XDG_CONFIG_DIRS
+
+# 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
+
+
+# set ENV to a file invoked each time sh is started for interactive use.
+ENV=$HOME/.shrc; export ENV
+
+[ -x /usr/games/fortune ] && /usr/games/fortune freebsd-tips
+
Modified: pcbsd/trunk/system-overlay/usr/share/skel/.xprofile
===================================================================
--- pcbsd/trunk/system-overlay/usr/share/skel/.xprofile 2008-10-09 23:30:56 UTC (rev 2893)
+++ pcbsd/trunk/system-overlay/usr/share/skel/.xprofile 2008-10-10 15:19:37 UTC (rev 2894)
@@ -1,2 +1,13 @@
QT_NO_GLIB=1
export QT_NO_GLIB
+
+# remove /usr/games and /usr/X11R6/bin if you want
+PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/local/kde4/bin:/Programs/bin:$HOME/bin:/PCBSD/local/bin:/PCBSD/local/kde4/bin; export PATH
+
+# Setup the XDG_DATA_DIRS variable
+XDG_DATA_DIRS="/usr/local/kde4/share:/usr/share:/usr/local/share:/usr/local/share/gnome:/PCBSD/local/share:/PCBSD/local/kde4/share"
+export XDG_DATA_DIRS
+
+# Setup the XDG_CONFIG_DIRS variable
+XDG_CONFIG_DIRS="/usr/local/kde4/etc/xdg:/etc/xdg:/usr/local/etc/xdg:/usr/local/etc/xdg/xfce4:/PCBSD/local/etc/xdg:/PCBSD/local/kde4/etc/xdg"
+export XDG_CONFIG_DIRS
More information about the Commits
mailing list