From: "Weiqi Gao" Newsgroups: comp.os.msdos.djgpp Subject: Re: bash customization Date: 30 Mar 1997 05:17:41 GMT Organization: CRL Dialup Internet Access Lines: 35 Message-ID: <01bc3cca$27dd34c0$0f0171a5@weiqigao> References: <01bc3ca9$bda55580$3343face AT themall DOT themall DOT com> NNTP-Posting-Host: crl8.crl.com To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Carlos A Alcalde wrote in article <01bc3ca9$bda55580$3343face AT themall DOT themall DOT com>... >I am new to djgpp and I would like to know how does bash behave >compared to Linux bash. In particular how does one customize bash in djgpp. >For example, how does one get bash to give the working directory in the >prompt. Thanks in advance to anyone who answers my question. You configure it just like you would the Linux version. Some additional variables are available only for the DJGPP version (described in readme.dos). Here's my bash configuration: In AUTOEXEC.BAT: SET SYSROOT=D: --- I want my "D:\" to be "/" SET HOME=D:\HOME\WEIQI --- My home directory. In D:\HOME\WEIQI\.bashrc (dot bashrc, same syntax as in Linux): alias ls="ls --color=auto -F" alias d="dir --color=auto -F" alias v="vdir --color=auto -F" alias rm="rm -i" alias mv="mv -i" alias cp="cp -i" alias r="fc -s" alias vim="vim -T win32" alias find="/usr/bin/find.exe" alias sort="/usr/bin/sort.exe" PS1="\u: \w \#\$ " TERM=win32-win export PS1 TERM -- Weiqi Gao weiqigao AT crl DOT com