[go: up one dir, main page]

Menu

[r37]: / etc / ksh / kshrc  Maximize  Restore  History

Download this file

38 lines (30 with data), 824 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
## kshrc for ctafconf in /home/ctaf/.ctafconf
##
## Made by GESTES Cedric
## Login <ctaf@epita.fr>
##
## Started on Thu Oct 6 04:55:46 2005 GESTES Cedric
## Last update Mon Mar 27 02:36:19 2006 GESTES Cedric
##
##CTAFCONF
# skip remaining setup if shell non-interactive
[[ -o interactive ]] || return 0
echo -n "shell: ksh, "
cat ~/.ctafconf/etc/shell/motd
# turn on command line editing mode
set -o emacs
#set -o vi-tabcomplete # tab filename completion ON!
alias source=.
if [ -f ~/.ctafconf/etc/ksh/kshprompt ]; then
. ~/.ctafconf/etc/ksh/kshprompt
fi
if [ -f ~/.ctafconf/etc/shell/globalenv ]; then
. ~/.ctafconf/etc/shell/globalenv sh
fi
if [ -f ~/.ctafconf/etc/shell/alias ]; then
. ~/.ctafconf/etc/shell/alias
fi
if [ -f ~/.kshrc.mine ]; then
. ~/.ctafconf/perso/.kshrc.mine
fi