diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2023-08-14 21:04:18 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2023-08-14 21:04:18 -0700 |
commit | ee1690746a04e46f6c86357c84c057da211cf352 (patch) | |
tree | 041c5578fced09c235727cee8ad30a5ef3447c4e | |
parent | b5dd54fed25c5f2f18c8a9962dd252b39581fb47 (diff) | |
download | basta-ee1690746a04e46f6c86357c84c057da211cf352.tar.gz basta-ee1690746a04e46f6c86357c84c057da211cf352.tar.bz2 basta-ee1690746a04e46f6c86357c84c057da211cf352.zip |
README: refer to ~/.bashrc rather than ~/.bash_profile.
If Basta is sourced from ~/.bashrc, then it activates in
non-login shells, which is important.
-rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -13,7 +13,7 @@ This allows you to have very simple prompt: To use the code put the `basta.sh` file somewhere. Perhaps, turn it into a dot file in your home directory, under the name`~/.basta` Then, then source this file from some startup script, for -instance by adding this line to `~/.bash_profile`: +instance by adding this line to `~/.bashrc`: ::text . ~/.basta.sh @@ -22,7 +22,7 @@ This requires Bash 4.4 or higher. ## Reloading -Assuming your `~/.bash_profile` sources the Basta code, here is how +Assuming your `~/.bashrc` sources the Basta code, here is how you can re-execute your shell correctly so that you don't get a nested Basta prompt |