Let the user choose how they add .local/bin.
This commit is contained in:
parent
1f42788450
commit
8a2ef9a7f7
|
@ -14,14 +14,18 @@ xz-utils tk-dev libxml2-dev libxmlsec1-dev libffi-dev liblzma-dev
|
|||
```
|
||||
|
||||
|
||||
## Usage
|
||||
## Installation
|
||||
|
||||
Clone the repo anywhere, then in your `~/.bashrc` add:
|
||||
|
||||
source PATH/To/THE/REPO/compile-python.sh
|
||||
|
||||
And for the compiled Python to be found in your PATH:
|
||||
|
||||
TL;DR:
|
||||
PATH="$PATH:$HOME/.local/bin"
|
||||
|
||||
|
||||
## Usage
|
||||
|
||||
```bash
|
||||
$ compile-pythons
|
||||
|
|
|
@ -62,5 +62,3 @@ _compile_python()
|
|||
COMPREPLY=( $( compgen -W '$( command curl -s https://www.python.org/ftp/python/ | grep -o ">[0-9.]\+/<" | sed "s/^>//;s|/<$||" )' -- "${COMP_WORDS[COMP_CWORD]}") )
|
||||
}
|
||||
complete -F _compile_python compile-python
|
||||
|
||||
PATH="$PATH:$HOME/.local/bin"
|
||||
|
|
Loading…
Reference in New Issue