A note on using bash + win
This commit is contained in:
parent
60f1729086
commit
f8bc53de18
1 changed files with 14 additions and 0 deletions
14
README.md
14
README.md
|
|
@ -172,6 +172,20 @@ Edit ,x/Acme/ {
|
||||||
- `page FILE` view graphics files
|
- `page FILE` view graphics files
|
||||||
- `web URL` open url in your browser
|
- `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
|
## Resources
|
||||||
|
|
||||||
- [Acme homepage](http://acme.cat-v.org/)
|
- [Acme homepage](http://acme.cat-v.org/)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue