1 # Ian Jackson's shell rc
3 if [ "x$TRNINIT" = x ]; then
4 . $HOME/.configs/setenvir
7 hostname_completion_file=~/.hosts
12 ls() { /bin/ls -FC "$@"; }
13 ll() { /bin/ls -FCla "$@"; }
15 if [ "x$SCHROOT_SESSION_ID" = x ]; then
16 PS1=`autotitle`; export PS1;
19 rs() { eval `/usr/openwin/bin/resize` ; setprompt ; }
20 cd() { builtin cd "$@"; setprompt; }
21 pu() { builtin pushd "$@"; setprompt; }
22 po() { builtin popd "$@"; setprompt; }
24 # Set up history and prompt
27 HISTFILE=$HOME/.history/$HOST~$$~
28 AUTOTITLE_STDOUT="%?u%U%!%?g(%G)%!%?u@%!%h:%d1~.> "
29 AUTOTITLE_WINDOW="%h - %d~. %Y.[U..[M..[D./..%X.L]..M]..R]./.. %U%?G(%G)%!"
30 AUTOTITLE_ICON="%h: %d3~. %Y.[U..[M..[D./..%X.L]..M]..R]./.."
31 export AUTOTITLE_STDOUT AUTOTITLE_WINDOW AUTOTITLE_ICON