source: trunk/minix/etc/ast/.ashrc@ 20

Last change on this file since 20 was 9, checked in by Mattia Monga, 14 years ago

Minix 3.1.2a

File size: 592 bytes
RevLine 
[9]1# Ash initialization.
2
3test -z "$EDITOR" && { # Don't repeat in subshells.
4
5umask 022
6
7# Favourite editor and pager, search path for binaries, etc.
8export EDITOR=vi
9export PAGER=more
10export PATH=$HOME/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin
11
12} # End of no-repeat.
13
14# Let cd display the current directory on the status line.
15if [ "$-" : '.*i.*' -a -t 0 -a -f /usr/bin/tget ] && tget -flag hs
16then
17 hostname=$(expr $(uname -n) : '\([^.]*\)')
18 eval "cd()
19 {
20 chdir \"\$@\" &&
21 echo -n '$(tget -str ts \
22 "$USER@$hostname:'\"\`pwd\`\"'" \
23 -str fs)'
24 }"
25 unset hostname
26 cd .
27fi
Note: See TracBrowser for help on using the repository browser.