From 065f69dd3b4a71d8e61c74973dcb1e629f3f70c3 Mon Sep 17 00:00:00 2001 From: DannyDannyDanny Date: Tue, 11 Apr 2023 22:01:32 +0200 Subject: [PATCH] vimwiki: dth @ DK023900WSL --- .zshrc | 4 ++++ makefile | 12 ++++++++++++ 2 files changed, 16 insertions(+) diff --git a/.zshrc b/.zshrc index bc5c02b..bbbae40 100644 --- a/.zshrc +++ b/.zshrc @@ -122,6 +122,10 @@ if [ -d "$HOME/.local/bin" ] ; then PATH="$HOME/.local/bin:$PATH" fi +# for poetry +fpath+=~/.zfunc +autoload -Uz compinit && compinit + alias pbpaste="powershell.exe -noprofile Get-Clipboard" alias pbcopy="clip.exe" diff --git a/makefile b/makefile index 3bed5cc..30586b5 100644 --- a/makefile +++ b/makefile @@ -11,6 +11,18 @@ setup_alacritty: mkdir -p ~/.config/alacritty ln -s -f ~/dotfiles/.config/alacritty/alacritty.yml ~/.config/alacritty/alacritty.yml +setup_poetry: + # TODO: make raget not tested properly + sudo apt purge python3 python3-pip python3-openssl + sudo apt-get update + sudo apt-get upgrade + sudo apt -y install libssl-dev libffi-dev python3 python3-pip python3-openssl + # poetry install via https://python-poetry.org/docs/#installation + curl -sSL https://install.python-poetry.org | python3 - + sudo add-apt-repository ppa:deadsnakes/ppa + sudo apt install python3.11 + + setup_tmux_a: echo "configuring tmux with 'a' as prefix" ln -s -f ~/dotfiles/.tmux.conf ~/.tmux.conf