Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
anki-code authored Jun 19, 2024
1 parent 1849e99 commit 76f1043
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,14 @@ If you like the idea click ⭐ on the repo and <a href="https://twitter.com/inte
6. Now you can just run anywhere:
```xonsh
pip install -U git+https://github.com/yourname/xontrib-rc-yourname

# Only for interactive mode:
echo 'xontrib load rc_yourname' >> ~/.xonshrc # To avoid this create autoloadable xontrib using xontrib-template

# For interactive or non-interactive (https://xon.sh/xonshrc.html):
mkdir -p ~/.config/xonsh/rc.d/
echo 'xontrib load rc_yourname' > ~/.config/xonsh/rc.d/rc_yourname.xsh
# mkdir -p ~/.config/xonsh/rc.d/
# echo 'xontrib load rc_yourname' > ~/.config/xonsh/rc.d/rc_yourname.xsh

xonsh
```
Also you can avoid manual loading the xontrib in `~/.xonshrc` by creating autoloadable xontrib using [xontrib-template](https://github.com/xonsh/xontrib-template). Answer yes on the question about enabling autoloading.
Expand Down

0 comments on commit 76f1043

Please sign in to comment.