diff options
author | Micah Lee <micah@micahflee.com> | 2022-01-16 15:49:33 -0800 |
---|---|---|
committer | Micah Lee <micah@micahflee.com> | 2022-01-16 15:49:33 -0800 |
commit | 9e99ad8b8d6f0eb0a2162191ec31a68e7c3acee5 (patch) | |
tree | 5a5215260866bd07adc60ead1ae0d1b6cd93174b /cli/README.md | |
parent | 74711e7d7c7b825fc580c612530569195156794a (diff) | |
parent | b4e022149d677f9c2acd639e9dfa77bcc712b068 (diff) | |
download | onionshare-9e99ad8b8d6f0eb0a2162191ec31a68e7c3acee5.tar.gz onionshare-9e99ad8b8d6f0eb0a2162191ec31a68e7c3acee5.zip |
Merge branch 'develop' of github.com:onionshare/onionshare into ros-fixes
Diffstat (limited to 'cli/README.md')
-rw-r--r-- | cli/README.md | 31 |
1 files changed, 4 insertions, 27 deletions
diff --git a/cli/README.md b/cli/README.md index 00c175a7..12a157e3 100644 --- a/cli/README.md +++ b/cli/README.md @@ -59,28 +59,13 @@ pip install --user onionshare-cli #### Set path -When you install programs with pip and use the --user flag, it installs them into ~/.local/bin, which isn't in your path by default. To add ~/.local/bin to your path automatically for the next time you reopen the terminal or source your shell configuration file, do the following: +When you install programs with pip and use the `--user` flag, it installs them into *~/.local/bin*, which isn't in your path by default. To add *~/.local/bin* to your path automatically for the next time you reopen the terminal or source your shell configuration file, do the following: -First, discover what shell you are using: +Apply the path to your shell file: ```sh -echo $SHELL -``` - -Then apply the path to your shell file: - -bash: - -```sh -echo "PATH=\$PATH:~/.local/bin" >> ~/.bashrc -source ~/.bashrc -``` - -zsh: - -```sh -echo "PATH=\$PATH:~/.local/bin" >> ~/.zshrc -source ~/.zshrc +printf "PATH=\$PATH:~/.local/bin\n" >> ~/.${SHELL##*/}rc +. ~/.${SHELL##*/}rc ``` #### Usage @@ -112,11 +97,3 @@ To run tests: ```sh poetry run pytest -v ./tests ``` - -## Build a wheel package - -```sh -poetry build -``` - -This will create `dist/onionshare_cli-$VERSION-py3-none-any.whl`. |