✨ add poetry - zsh setup
This commit is contained in:
parent
065f69dd3b
commit
ccc91bfe29
1 changed files with 10 additions and 1 deletions
11
makefile
11
makefile
|
|
@ -11,16 +11,25 @@ setup_alacritty:
|
||||||
mkdir -p ~/.config/alacritty
|
mkdir -p ~/.config/alacritty
|
||||||
ln -s -f ~/dotfiles/.config/alacritty/alacritty.yml ~/.config/alacritty/alacritty.yml
|
ln -s -f ~/dotfiles/.config/alacritty/alacritty.yml ~/.config/alacritty/alacritty.yml
|
||||||
|
|
||||||
setup_poetry:
|
setup_python_and_poetry:
|
||||||
# TODO: make raget not tested properly
|
# TODO: make raget not tested properly
|
||||||
|
#
|
||||||
sudo apt purge python3 python3-pip python3-openssl
|
sudo apt purge python3 python3-pip python3-openssl
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get upgrade
|
sudo apt-get upgrade
|
||||||
sudo apt -y install libssl-dev libffi-dev python3 python3-pip python3-openssl
|
sudo apt -y install libssl-dev libffi-dev python3 python3-pip python3-openssl
|
||||||
|
#
|
||||||
# poetry install via https://python-poetry.org/docs/#installation
|
# poetry install via https://python-poetry.org/docs/#installation
|
||||||
curl -sSL https://install.python-poetry.org | python3 -
|
curl -sSL https://install.python-poetry.org | python3 -
|
||||||
sudo add-apt-repository ppa:deadsnakes/ppa
|
sudo add-apt-repository ppa:deadsnakes/ppa
|
||||||
|
#
|
||||||
|
# additionally install 3.11
|
||||||
|
# TODO: consider installing 3.11 first
|
||||||
sudo apt install python3.11
|
sudo apt install python3.11
|
||||||
|
#
|
||||||
|
# setup poetry - zsh
|
||||||
|
mkdir $ZSH_CUSTOM/plugins/poetry
|
||||||
|
poetry completions zsh > $ZSH_CUSTOM/plugins/poetry/_poetry
|
||||||
|
|
||||||
|
|
||||||
setup_tmux_a:
|
setup_tmux_a:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue