chore: use pyenv

Add xz to brew, see https://stackoverflow.com/a/69517932
main
sudo pacman -Syu 2024-03-24 02:11:00 +07:00
parent f43d32923b
commit 631422d096
5 changed files with 17 additions and 7 deletions

View File

@ -12,3 +12,6 @@ unbind-key g
unbind-key G
bind-key g home
bind-key G end
unbind-key j
unbind-key k

View File

@ -110,6 +110,12 @@ if command -v zoxide &>/dev/null; then
eval "$(zoxide init zsh)"
fi
# https://github.com/walles/moar
if command -v moar &>/dev/null; then
export MOAR="-no-linenumbers -no-statusbar -quit-if-one-screen -wrap"
export PAGER=moar
fi
# https://github.com/atuinsh/atuin
if command -v atuin &>/dev/null; then
eval "$(atuin init zsh --disable-up-arrow)"
@ -120,10 +126,11 @@ if command -v fnm &>/dev/null; then
eval "$(fnm env --use-on-cd)"
fi
# https://github.com/walles/moar
if command -v moar &>/dev/null; then
export MOAR="-no-linenumbers -no-statusbar -quit-if-one-screen -wrap"
export PAGER=moar
# 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 -)"
fi
# Depend on your company

View File

@ -1,3 +1,3 @@
#!/usr/bin/env bash
brew install libgit2 pcre2
brew install libgit2 pcre2 xz

View File

@ -8,5 +8,5 @@ nix-env -iA \
nixpkgs.fdupes nixpkgs.rsync nixpkgs.rclone nixpkgs.restic nixpkgs.taskwarrior \
nixpkgs.ffmpegthumbnailer nixpkgs.asciinema-agg nixpkgs.yt-dlp nixpkgs.libjxl nixpkgs.newsboat \
nixpkgs.btop nixpkgs.cpufetch nixpkgs.onefetch \
nixpkgs.clang-tools nixpkgs.python3 nixpkgs.pipx nixpkgs.gh nixpkgs.moar \
nixpkgs.clang-tools nixpkgs.pipx nixpkgs.gh nixpkgs.moar \
nixpkgs.qmk

View File

@ -10,7 +10,7 @@ nix-env -uA \
nixpkgs.fdupes nixpkgs.rsync nixpkgs.rclone nixpkgs.restic nixpkgs.taskwarrior \
nixpkgs.ffmpegthumbnailer nixpkgs.asciinema-agg nixpkgs.yt-dlp nixpkgs.libjxl nixpkgs.newsboat \
nixpkgs.btop nixpkgs.cpufetch nixpkgs.onefetch \
nixpkgs.clang-tools nixpkgs.python3 nixpkgs.pipx nixpkgs.gh nixpkgs.moar \
nixpkgs.clang-tools nixpkgs.pipx nixpkgs.gh nixpkgs.moar \
nixpkgs.qmk
nix-collect-garbage -d --quiet