From b6e8a983ecb17ea05fc08e51599877ae8d0535ce Mon Sep 17 00:00:00 2001 From: "bozo.kopic" Date: Fri, 24 Dec 2021 19:55:44 +0100 Subject: . --- install.sh | 3 ++- packages.txt | 2 ++ python/requirements.pip310.txt | 5 +++++ python/requirements.pip39.txt | 3 --- shell/.profile | 17 ++++++++++++++++- shell/zsh/.zshrc | 2 ++ tmux/.tmux.conf | 1 + 7 files changed, 28 insertions(+), 5 deletions(-) create mode 100644 python/requirements.pip310.txt diff --git a/install.sh b/install.sh index 20fdbb8..4d9ee13 100755 --- a/install.sh +++ b/install.sh @@ -107,7 +107,8 @@ symlink ~/.dotfiles/polybar ~/.config/polybar # python install_python 3.8 install_python 3.9 -symlink ~/bin/python3.9 ~/bin/python3 +install_python 3.10 +symlink ~/bin/python3.10 ~/bin/python3 symlink ~/bin/python3 ~/bin/python # qutebrowser diff --git a/packages.txt b/packages.txt index e1c7497..505618f 100644 --- a/packages.txt +++ b/packages.txt @@ -34,6 +34,7 @@ jq kate kicad kicad-library +libffi7 libuv libxcb lightdm @@ -59,6 +60,7 @@ pulseaudio python python-pip python38 +python39 qemu qemu-arch-extra qutebrowser diff --git a/python/requirements.pip310.txt b/python/requirements.pip310.txt new file mode 100644 index 0000000..fd879f7 --- /dev/null +++ b/python/requirements.pip310.txt @@ -0,0 +1,5 @@ +doit +pip +python-language-server +sublime-music +ydiff diff --git a/python/requirements.pip39.txt b/python/requirements.pip39.txt index fd879f7..eb2c599 100644 --- a/python/requirements.pip39.txt +++ b/python/requirements.pip39.txt @@ -1,5 +1,2 @@ doit pip -python-language-server -sublime-music -ydiff diff --git a/shell/.profile b/shell/.profile index a3a427d..eda4c94 100644 --- a/shell/.profile +++ b/shell/.profile @@ -1,3 +1,13 @@ + +prepend_path () { + case ":$PATH:" in + *:"$1":*) + ;; + *) + PATH="$1${PATH:+:$PATH}" + esac +} + # export ATOM_NODE_URL=http://gh-contractor-zcbenz.s3.amazonaws.com/atom-shell/dist # export CHICKEN_REPOSITORY=~/programs/chicken_repository # export GDK_BACKEND=wayland @@ -8,6 +18,11 @@ # export SDL_VIDEODRIVER=wayland # export SWEETHOME3D_JAVA3D=1.6 # export WLR_DRM_NO_MODIFIERS=1 -export PATH=~/bin:~/opt/python39/bin:~/opt/janet/bin:$PATH +export EDITOR=nvim export QT_QPA_PLATFORMTHEME=qt5ct export VISUAL=nvim + +prepend_path ~/opt/janet/bin +prepend_path ~/opt/python310/bin +prepend_path ~/bin +export PATH diff --git a/shell/zsh/.zshrc b/shell/zsh/.zshrc index 0b133b8..25c8552 100644 --- a/shell/zsh/.zshrc +++ b/shell/zsh/.zshrc @@ -2,6 +2,8 @@ HISTFILE=~/.zsh_history HISTSIZE=1000 SAVEHIST=1000 +export GPG_TTY=$(tty) + bindkey -v autoload -Uz compinit diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf index 17cfe5e..a23dac9 100644 --- a/tmux/.tmux.conf +++ b/tmux/.tmux.conf @@ -11,6 +11,7 @@ setw -g base-index 1 setw -g mode-keys vi set -g default-terminal "screen-256color" +set -g default-command /bin/zsh set -g mouse on -- cgit v1.2.3-70-g09d2