summaryrefslogtreecommitdiff
path: root/etc/rc
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2008-09-30 18:56:25 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2008-09-30 18:56:25 +0200
commitbe35c378d3f05aa4d8f7366460ba5127539434d7 (patch)
tree0f04be3ab7f775002f83047e2ab361661d7b2ae5 /etc/rc
parent497c7294ddd02501f385882c8f832d7d6ea29139 (diff)
etc/rc: Added progress indicators
Diffstat (limited to 'etc/rc')
-rw-r--r--etc/rc15
1 files changed, 15 insertions, 0 deletions
diff --git a/etc/rc b/etc/rc
index 41a8d26..0381cb2 100644
--- a/etc/rc
+++ b/etc/rc
@@ -10,24 +10,37 @@ alias 'linux:'='[[ $uname = Linux ]] &&'
alias 'non-linux:'='[[ $uname = Linux ]] ||'
alias 'ls-colors:'='which dircolors &> /dev/null &&'
alias 'openbsd:'='[[ $uname = OpenBSD ]] &&'
+ret=0
## include the actual config
+echo "options"
source $ZDIR/options
+echo "parameters"
source $ZDIR/parameters
+echo "unicode"
source $ZDIR/unicode
+echo "functions"
source $ZDIR/function
+echo "colorc"
source $ZDIR/colors
+echo "prompt"
source $ZDIR/prompt
+echo "directories"
source $ZDIR/directories
+echo "keys"
source $ZDIR/keys
+echo "aliases"
source $ZDIR/alias/suffix
source $ZDIR/alias/font
source $ZDIR/alias/default
source $ZDIR/alias/global
source $ZDIR/alias/short
+echo "includes"
xsource $ZDIR/../provided/includes
+echo "local"
xsource $ZDIR/local
xsource $HOME/var/tmp/envstore-raw-$UID
+echo "completion"
source $ZDIR/completion
## misc
@@ -44,3 +57,5 @@ unalias 'openbsd:'
unfunction xexport
unfunction xsource
unset uname
+(( ret )) || clear
+unset ret