A note on using bash + win

This commit is contained in:
Ev Bogdanov 2018-10-01 23:22:13 +03:00
parent 60f1729086
commit f8bc53de18

View file

@ -172,6 +172,20 @@ Edit ,x/Acme/ {
- `page FILE` view graphics files
- `web URL` open url in your browser
## Wanna use bash inside win?
Put in your .bashrc
```
## If inside Acme...
if [ "$winid" ]; then
## ... then patch the `cd` command
_cd () {
\cd "$@" && awd
}
alias cd=_cd
fi
```
## Resources
- [Acme homepage](http://acme.cat-v.org/)