File tree Expand file tree Collapse file tree 4 files changed +23
-20
lines changed Expand file tree Collapse file tree 4 files changed +23
-20
lines changed Original file line number Diff line number Diff line change 33# #############################################
44
55function __load_tokens_if_rbw_unlocks --on-event rbw-unlocked
6- if command -v rbw > /dev/null 2>&1
6+ if type -q rbw
77 if rbw unlocked > /dev/null 2>&1
88 echo " 🔓🗝️ Session unlocked, loading tokens from Bitwarden... 🔓🗝️"
99
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ if command -v git-town &> /dev/null
1515 alias gt=' git-town'
1616end
1717
18- if command -v kubectl & > /dev/null
18+ if type -q kubectl
1919 function kubectl --wraps kubectl
2020 command kubecolor $argv
2121 end
@@ -29,7 +29,7 @@ if command -v kubectl &>/dev/null
2929 set -x KUBECTL_EXTERNAL_DIFF " dyff between --omit-header --set-exit-code"
3030end
3131
32- if command -v aws_completer & > /dev/null
32+ if type -q aws_completer
3333 # Enable AWS CLI autocompletion: https://github.com/aws/aws-cli/issues/1079#issuecomment-541997810
3434 complete --command aws --no-files --arguments ' (begin; set --local --export COMP_SHELL fish; set --local --export COMP_LINE (commandline); aws_completer | sed \' s/ $//\' ; end)'
3535end
@@ -47,8 +47,8 @@ if test -f ~/.env
4747end
4848
4949# ENHANCE!
50- command -v fixit > /dev/null ; and fixit init fish | source
51- command -v zoxide > /dev/null ; and zoxide init --cmd cd fish | source
52- command -v atuin > /dev/null ; and atuin init fish | source
53- # command -v savvy >/dev/null ; and savvy init fish | source # Disabled: not currently used, so saving in Fish startup costs.
54- command -v starship > /dev/null ; and starship init fish | source
50+ type -q fixit; and fixit init fish | source
51+ type -q zoxide; and zoxide init --cmd cd fish | source
52+ type -q atuin; and atuin init fish | source
53+ # type -q savvy; and savvy init fish | source # Disabled: not currently used, so saving in Fish startup costs.
54+ type -q starship; and starship init fish | source
Original file line number Diff line number Diff line change @@ -5,37 +5,40 @@ function update_completions
55 return
66 end
77
8- if command -v aqua > /dev/null
8+ if type -q aqua
99 aqua completion fish > " $_ completion_dir/aqua.fish"
1010 end
11- if command -v lab > /dev/null
11+ if type -q lab
1212 lab completion fish > " $_ completion_dir/lab.fish"
1313 end
14- if command -v glab > /dev/null
14+ if type -q glab
1515 glab completion -s fish > " $_ completion_dir/glab.fish"
1616 end
17- if command -v mise > /dev/null
17+ if type -q mise
1818 mise completion fish > " $_ completion_dir/mise.fish"
1919 end
20- if command -v rbw > /dev/null
20+ if type -q rbw
2121 rbw gen-completions fish > " $_ completion_dir/rbw.fish"
2222 end
23- if command -v ghorg > /dev/null
23+ if type -q ghorg
2424 ghorg completion fish > " $_ completion_dir/ghorg.fish"
2525 end
26- if command -v starship > /dev/null
26+ if type -q starship
2727 starship completions fish > " $_ completion_dir/starship.fish"
2828 end
29- if command -v tenv > /dev/null
29+ if type -q tenv
3030 tenv completion fish > " $_ completion_dir/tenv.fish"
3131 end
32- if command -v kubectl > /dev/null
32+ if type -q kubectl
3333 kubectl completion fish > " $_ completion_dir/kubectl.fish"
3434 end
3535 if command -v git-town > /dev/null
3636 git-town completions fish > " $_ completion_dir/git-town.fish"
3737 end
38- if command -v fzf > /dev/null
38+ if type -q fzf
3939 fzf --fish > " $_ completion_dir/fzf.fish"
4040 end
41+ if type -q chezmoi
42+ chezmoi completion fish > " $_ completion_dir/chezmoi.fish"
43+ end
4144end
Original file line number Diff line number Diff line change @@ -42,7 +42,6 @@ pipx = "latest"
4242"cargo:racum/uuinfo" = " HEAD"
4343"cargo:rbw" = " 1.13.1"
4444"cargo:ripgrep_all" = " latest"
45- "cargo:serie" = " latest"
4645"cargo:zeitfetch" = " latest"
4746
4847# ##############
@@ -62,13 +61,14 @@ pipx = "latest"
6261# UBI Packages #
6362# ###############
6463"ubi:aws-cloudformation/rain" = " 1.20.2"
65- "ubi:imsnif/bandwhich" = " latest"
6664"ubi:darkhz/bluetuith" = " latest"
6765"ubi:eugene-babichenko/fixit" = " 0.9.0"
6866"ubi:fioncat/otree" = " 0.3.1"
6967"ubi:gdubicki/ets" = " 0.3.0"
68+ "ubi:imsnif/bandwhich" = " latest"
7069"ubi:jacek-kurlit/pik" = " 0.14.1"
7170"ubi:joschi/dive" = " 0.13.1"
71+ "ubi:lusingander/serie" = " 0.4.3"
7272
7373[settings ]
7474# Issues I'd like to see implemented/fixed before enabling uvx for all packages:
You can’t perform that action at this time.
0 commit comments