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 autotitle >/dev/null 2>&1 && [ "x$SCHROOT_SESSION_ID" = x ]; then
16 setprompt() { PS1=`autotitle`; export PS1; }
21 rs() { eval `/usr/openwin/bin/resize` ; setprompt ; }
22 cd() { builtin cd "$@"; setprompt; }
23 pu() { builtin pushd "$@"; setprompt; }
24 po() { builtin popd "$@"; setprompt; }
28 # Set up history and prompt
31 HISTFILE=$HOME/.history/$HOST~$$~
32 AUTOTITLE_STDOUT="%Edebian_chroot.%?u%U%!%?g(%G)%!%?u@%!%h:%d1~.> "
33 AUTOTITLE_WINDOW="%h - %d~. %Y.[U..[M..[D./..%X.L]..M]..R]./.. %U%?G(%G)%!"
34 AUTOTITLE_ICON="%h: %d3~. %Y.[U..[M..[D./..%X.L]..M]..R]./.."
35 export AUTOTITLE_STDOUT AUTOTITLE_WINDOW AUTOTITLE_ICON