Compare commits

...

3 Commits

Author SHA1 Message Date
sudo pacman -Syu 7a7939c4a8 chore: add go clean 2024-05-11 00:37:13 +07:00
sudo pacman -Syu 2bbece233f chore: remove pipx 2024-05-11 00:20:41 +07:00
sudo pacman -Syu d708ad9281 chore: removee pyenv 2024-05-10 23:55:06 +07:00
9 changed files with 19 additions and 20 deletions

View File

@ -140,15 +140,6 @@ if command -v fnm &>/dev/null; then
eval "$(fnm env --use-on-cd)"
fi
# https://github.com/pyenv/pyenv
if command -v pyenv &>/dev/null; then
export PYENV_ROOT="$HOME/.pyenv"
[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init -)"
export PYTHON_CONFIGURE_OPTS="--enable-framework --enable-optimizations --with-lto"
export PYTHON_CFLAGS='-march=native -mtune=native'
fi
# https://github.com/ankitpokhrel/jira-cli
if command -v jira &>/dev/null; then
# Remember to jira init local not cloud

View File

@ -6,5 +6,5 @@ brew install \
fdupes rsync rclone restic \
yt-dlp newsboat \
btop \
clang-format pyenv pipx marksman moar \
clang-format marksman moar \
qmk

View File

@ -10,6 +10,7 @@ cargo install --quiet --locked \
daktilo
cargo install --quiet --locked ripgrep --features 'pcre2'
cargo install --quiet --git https://github.com/astral-sh/rye rye
bat cache --build

View File

@ -8,3 +8,4 @@ cargo install --quiet --force --locked \
daktilo
cargo install --quiet --force --locked ripgrep --features 'pcre2'
cargo install --quiet --force --git https://github.com/astral-sh/rye rye

View File

@ -24,3 +24,6 @@ go install gotest.tools/gotestsum@latest
go install github.com/bufbuild/buf/cmd/buf@latest
go install github.com/ankitpokhrel/jira-cli/cmd/jira@latest
# Need to run this once a month
# go clean -cache -testcache -modcache -fuzzcache

View File

@ -1,7 +0,0 @@
#!/usr/bin/env bash
pipx ensurepath
pipx install uv
pipx install ruff
pipx install pyright
pipx install keymap-drawer

View File

@ -1,3 +0,0 @@
#!/usr/bin/env bash
pipx upgrade-all

8
scripts/rye_init.sh Executable file
View File

@ -0,0 +1,8 @@
#!/usr/bin/env bash
rye
rye install uv
rye install ruff
rye install pyright
rye install keymap-drawer

5
scripts/rye_maintain.sh Executable file
View File

@ -0,0 +1,5 @@
#!/usr/bin/env bash
rye self update
rye tools list | xargs -L1 rye install --force