[go: up one dir, main page]

Menu

[r29]: / etc / zsh / zshrc  Maximize  Restore  History

Download this file

38 lines (32 with data), 764 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#!/bin/sh
## zshrc.linux for ctafconf in /ctaf/conf/ctafconf/zsh
##
## Made by GESTES Cedric
## Login <gestes_c@epita.fr>
##
## Started on Fri Feb 11 01:37:23 2005 GESTES Cedric
## Last update Thu Mar 23 02:54:42 2006 GESTES Cedric
##
##CTAFCONF
# Shell is non-interactive. Be done now
if [[ $- != *i* ]]; then
return
fi
echo -n "shell: zsh, "
cat ~/.ctafconf/etc/shell/motd
#alias
. ~/.ctafconf/etc/zsh/zshalias
#General config
. ~/.ctafconf/etc/zsh/zshconf
. ~/.ctafconf/etc/shell/shfunction
#Prompt
if [ x$ctafconf_zprompt = x ] || [ x$ctafconf_zprompt = xctaf ] ; then
source ~/.ctafconf/etc/zsh/zshprompt
else
autoload -U promptinit
promptinit
prompt $ctafconf_zprompt
fi
if [ -f ~/.zshrc.mine ]; then
source ~/.zshrc.mine
fi