Bump, add pipx

This commit is contained in:
David Tomaschik
2023-05-16 19:55:40 -07:00
parent d76a278a95
commit e90c014d88
3 changed files with 13 additions and 4 deletions

View File

@@ -118,6 +118,10 @@ function deb_only {
fi fi
} }
function require_pipx {
command -v pipx >/dev/null 2>&1 || die "Requires pipx"
}
# Begin main tool selection # Begin main tool selection
case ${TOOL} in case ${TOOL} in
john) john)
@@ -422,10 +426,12 @@ EOF
add_bin_symlink docker-compose add_bin_symlink docker-compose
;; ;;
tldr) tldr)
pip3 install --user tldr require_pipx
pipx install tldr
;; ;;
blint) blint)
pip3 install --user blint require_pipx
pipx install blint
;; ;;
dust) dust)
if ! command -v cargo >/dev/null 2>&1 ; then if ! command -v cargo >/dev/null 2>&1 ; then
@@ -514,7 +520,8 @@ EOF
cargo install igrep cargo install igrep
;; ;;
unblob) unblob)
pip install --user unblob require_pipx
pipx install unblob
;; ;;
*) *)
echo "Unknown tool: ${TOOL}" >/dev/stderr echo "Unknown tool: ${TOOL}" >/dev/stderr

View File

@@ -1,7 +1,7 @@
# This file contains fish universal variable definitions. # This file contains fish universal variable definitions.
# VERSION: 3.0 # VERSION: 3.0
SETUVAR EDITOR:vim SETUVAR EDITOR:vim
SETUVAR __fish_initialized:3100 SETUVAR __fish_initialized:3400
SETUVAR fish_color_autosuggestion:586e75 SETUVAR fish_color_autosuggestion:586e75
SETUVAR fish_color_cancel:\x2dr SETUVAR fish_color_cancel:\x2dr
SETUVAR fish_color_command:93a1a1 SETUVAR fish_color_command:93a1a1
@@ -31,3 +31,4 @@ SETUVAR fish_pager_color_completion:B3A06D
SETUVAR fish_pager_color_description:B3A06D SETUVAR fish_pager_color_description:B3A06D
SETUVAR fish_pager_color_prefix:cyan\x1e\x2d\x2dunderline SETUVAR fish_pager_color_prefix:cyan\x1e\x2d\x2dunderline
SETUVAR fish_pager_color_progress:brwhite\x1e\x2d\x2dbackground\x3dcyan SETUVAR fish_pager_color_progress:brwhite\x1e\x2d\x2dbackground\x3dcyan
SETUVAR fish_pager_color_selected_background:\x2dr

View File

@@ -1,4 +1,5 @@
setxkbmap -option ctrl:nocaps -option compose:ralt setxkbmap -option ctrl:nocaps -option compose:ralt
test -x /usr/bin/xsettingsd && /usr/bin/xsettingsd & test -x /usr/bin/xsettingsd && /usr/bin/xsettingsd &
test -f "$HOME/.env" && "$HOME/.env" test -f "$HOME/.env" && "$HOME/.env"
test -f "$HOME/.shenv" && "$HOME/.shenv"
test -f "$HOME/.profile" && . "$HOME/.profile" test -f "$HOME/.profile" && . "$HOME/.profile"