This commit is contained in:
Brian Zalewski 2023-06-10 04:49:29 +00:00
parent fb7bfd4fa4
commit bb77e7b770
7 changed files with 75 additions and 33 deletions

View file

@ -177,6 +177,7 @@ https://github.com/rigoneri/Syte3
* https://github.com/charmbracelet/skate * https://github.com/charmbracelet/skate
* https://github.com/console-rs/indicatif * https://github.com/console-rs/indicatif
* https://github.com/tauri-apps/tauri * https://github.com/tauri-apps/tauri
* https://github.com/emilengler/sysget
## PHP ## PHP

View file

@ -45,7 +45,7 @@ decryptionFailure() {
### Install Age via Homebrew if not present ### Install Age via Homebrew if not present
installAge() { installAge() {
if command -v brew > /dev/null; then if ! command -v brew > /dev/null; then
logg info 'Running `brew install age`' logg info 'Running `brew install age`'
brew install age brew install age
else else
@ -55,7 +55,7 @@ installAge() {
### Install Expect via Homebrew if not present ### Install Expect via Homebrew if not present
installExpect() { installExpect() {
if command -v brew > /dev/null; then if ! command -v brew > /dev/null; then
logg info 'Running `brew install expect`' logg info 'Running `brew install expect`'
brew install expect brew install expect
else else

View file

@ -32,3 +32,4 @@ else
logg info 'Setting default browser with `xdg-settings` to `{{ .user.defaultBrowser }}`' logg info 'Setting default browser with `xdg-settings` to `{{ .user.defaultBrowser }}`'
xdg-settings set default-web-browser {{ .user.defaultBrowser }}.desktop xdg-settings set default-web-browser {{ .user.defaultBrowser }}.desktop
fi fi
{{ end -}}

View file

@ -26,35 +26,35 @@ mkdir -p "$COMPLETION_DIR"
if command -v aqua &> /dev/null; then if command -v aqua &> /dev/null; then
aqua completion bash > "$COMPLETION_DIR/aqua.bash" aqua completion bash > "$COMPLETION_DIR/aqua.bash"
elif [ -f "$COMPLETION_DIR/aqua.bash" ]; then elif [ -f "$COMPLETION_DIR/aqua.bash" ]; then
rm "$COMPLETION_DIR/aqua.bash" rm -f "$COMPLETION_DIR/aqua.bash"
fi fi
### Deno ### Deno
if command -v deno > /dev/null; then if command -v deno > /dev/null; then
deno completions bash > "$COMPLETION_DIR/deno.bash" deno completions bash > "$COMPLETION_DIR/deno.bash"
elif [ -f "$COMPLETION_DIR/deno.bash" ]; then elif [ -f "$COMPLETION_DIR/deno.bash" ]; then
rm "$COMPLETION_DIR/deno.bash" rm -f "$COMPLETION_DIR/deno.bash"
fi fi
### direnv ### direnv
if command -v direnv > /dev/null; then if command -v direnv > /dev/null; then
direnv hook bash > "$COMPLETION_DIR/direnv.bash" direnv hook bash > "$COMPLETION_DIR/direnv.bash"
elif [ -f "$COMPLETION_DIR/direnv.bash" ]; then elif [ -f "$COMPLETION_DIR/direnv.bash" ]; then
rm "$COMPLETION_DIR/direnv.bash" rm -f "$COMPLETION_DIR/direnv.bash"
fi fi
### fd ### fd
if command -v fd > /dev/null && command -v brew > /dev/null && [ -f "$(brew --prefix fd)/etc/bash_completion.d/fd" ]; then if command -v fd > /dev/null && command -v brew > /dev/null && [ -f "$(brew --prefix fd)/etc/bash_completion.d/fd" ]; then
cp "$(brew --prefix fd)/etc/bash_completion.d/fd" "$COMPLETION_DIR/fd.bash" cp "$(brew --prefix fd)/etc/bash_completion.d/fd" "$COMPLETION_DIR/fd.bash"
elif [ -f "$COMPLETION_DIR/fd.bash" ]; then elif [ -f "$COMPLETION_DIR/fd.bash" ]; then
rm "$COMPLETION_DIR/fd.bash" rm -f "$COMPLETION_DIR/fd.bash"
fi fi
### fig ### fig
if command -v fig > /dev/null; then if command -v fig > /dev/null; then
fig completion bash > "$COMPLETION_DIR/fig.bash" fig completion bash > "$COMPLETION_DIR/fig.bash"
elif [ -f "$COMPLETION_DIR/fig.bash" ]; then elif [ -f "$COMPLETION_DIR/fig.bash" ]; then
rm "$COMPLETION_DIR/fig.bash" rm -f "$COMPLETION_DIR/fig.bash"
fi fi
### fzf ### fzf
@ -62,50 +62,50 @@ if command -v fzf > /dev/null && command -v brew > /dev/null && [ -f "$(brew --p
cp "$(brew --prefix fzf)/shell/completion.bash" "$COMPLETION_DIR/fzf.bash" cp "$(brew --prefix fzf)/shell/completion.bash" "$COMPLETION_DIR/fzf.bash"
cp "$(brew --prefix fzf)/shell/key-bindings.bash" "$COMPLETION_DIR/fzf-key-bindings.bash" cp "$(brew --prefix fzf)/shell/key-bindings.bash" "$COMPLETION_DIR/fzf-key-bindings.bash"
elif [ -f "$COMPLETION_DIR/fzf.bash" ]; then elif [ -f "$COMPLETION_DIR/fzf.bash" ]; then
rm "$COMPLETION_DIR/fzf.bash" rm -f "$COMPLETION_DIR/fzf.bash"
rm "$COMPLETION_DIR/fzf-key-bindings.bash" rm -f "$COMPLETION_DIR/fzf-key-bindings.bash"
fi fi
### gh ### gh
if command -v gh > /dev/null; then if command -v gh > /dev/null; then
gh completion -s bash > "$COMPLETION_DIR/gh.bash" gh completion -s bash > "$COMPLETION_DIR/gh.bash"
elif [ -f "$COMPLETION_DIR/gh.bash" ]; then elif [ -f "$COMPLETION_DIR/gh.bash" ]; then
rm "$COMPLETION_DIR/gh.bash" rm -f "$COMPLETION_DIR/gh.bash"
fi fi
### Googler ### Googler
if command -v googler > /dev/null && command -v brew > /dev/null && [ -f "$(brew --prefix googler)/etc/bash_completion.d/googler-completion.bash" ]; then if command -v googler > /dev/null && command -v brew > /dev/null && [ -f "$(brew --prefix googler)/etc/bash_completion.d/googler-completion.bash" ]; then
cp "$(brew --prefix googler)/etc/bash_completion.d/googler-completion.bash" "$COMPLETION_DIR/googler.bash" cp "$(brew --prefix googler)/etc/bash_completion.d/googler-completion.bash" "$COMPLETION_DIR/googler.bash"
elif [ -f "$COMPLETION_DIR/googler.bash" ]; then elif [ -f "$COMPLETION_DIR/googler.bash" ]; then
rm "$COMPLETION_DIR/googler.bash" rm -f "$COMPLETION_DIR/googler.bash"
fi fi
### Gradle ### Gradle
if command -v gradle > /dev/null; then if command -v gradle > /dev/null; then
curl -sSL https://raw.githubusercontent.com/eriwen/gradle-completion/master/gradle-completion.bash > "$COMPLETION_DIR/gradle.bash" curl -sSL https://raw.githubusercontent.com/eriwen/gradle-completion/master/gradle-completion.bash > "$COMPLETION_DIR/gradle.bash"
elif [ -f "$COMPLETION_DIR/gradle.bash" ]; then elif [ -f "$COMPLETION_DIR/gradle.bash" ]; then
rm "$COMPLETION_DIR/gradle.bash" rm -f "$COMPLETION_DIR/gradle.bash"
fi fi
### Helm ### Helm
if command -v helm > /dev/null; then if command -v helm > /dev/null; then
helm completion bash > "$COMPLETION_DIR/helm.bash" helm completion bash > "$COMPLETION_DIR/helm.bash"
elif [ -f "$COMPLETION_DIR/helm.bash" ]; then elif [ -f "$COMPLETION_DIR/helm.bash" ]; then
rm "$COMPLETION_DIR/helm.bash" rm -f "$COMPLETION_DIR/helm.bash"
fi fi
### Hyperfine ### Hyperfine
if command -v hyperfine > /dev/null && command -v brew > /dev/null && [ -f "$(brew --prefix hyperfine)/etc/bash_completion.d/hyperfine.bash" ]; then if command -v hyperfine > /dev/null && command -v brew > /dev/null && [ -f "$(brew --prefix hyperfine)/etc/bash_completion.d/hyperfine.bash" ]; then
cp "$(brew --prefix hyperfine)/etc/bash_completion.d/hyperfine.bash" "$COMPLETION_DIR/hyperfine.bash" cp "$(brew --prefix hyperfine)/etc/bash_completion.d/hyperfine.bash" "$COMPLETION_DIR/hyperfine.bash"
elif [ -f "$COMPLETION_DIR/hyperfine.bash" ]; then elif [ -f "$COMPLETION_DIR/hyperfine.bash" ]; then
rm "$COMPLETION_DIR/hyperfine.bash" rm -f "$COMPLETION_DIR/hyperfine.bash"
fi fi
### kubectl ### kubectl
if command -v kubectl > /dev/null; then if command -v kubectl > /dev/null; then
kubectl completion bash > "$COMPLETION_DIR/kubectl.bash" kubectl completion bash > "$COMPLETION_DIR/kubectl.bash"
elif [ -f "$COMPLETION_DIR/kubectl.bash" ]; then elif [ -f "$COMPLETION_DIR/kubectl.bash" ]; then
rm "$COMPLETION_DIR/kubectl.bash" rm -f "$COMPLETION_DIR/kubectl.bash"
fi fi
### mcfly ### mcfly
@ -113,77 +113,84 @@ export MCFLY_KEY_SCHEME=vim
if command -v mcfly > /dev/null; then if command -v mcfly > /dev/null; then
mcfly init bash > "$COMPLETION_DIR/mcfly.bash" mcfly init bash > "$COMPLETION_DIR/mcfly.bash"
elif [ -f "$COMPLETION_DIR/mcfly.bash" ]; then elif [ -f "$COMPLETION_DIR/mcfly.bash" ]; then
rm "$COMPLETION_DIR/mcfly.bash" rm -f "$COMPLETION_DIR/mcfly.bash"
fi fi
### nb ### nb
if command -v nb > /dev/null && command -v brew > /dev/null && [ -f "$(brew --prefix nb)/etc/bash_completion.d/nb.bash" ]; then if command -v nb > /dev/null && command -v brew > /dev/null && [ -f "$(brew --prefix nb)/etc/bash_completion.d/nb.bash" ]; then
cp "$(brew --prefix nb)/etc/bash_completion.d/nb.bash" "$COMPLETION_DIR/nb.bash" cp "$(brew --prefix nb)/etc/bash_completion.d/nb.bash" "$COMPLETION_DIR/nb.bash"
elif [ -f "$COMPLETION_DIR/nb.bash" ]; then elif [ -f "$COMPLETION_DIR/nb.bash" ]; then
rm "$COMPLETION_DIR/nb.bash" rm -f "$COMPLETION_DIR/nb.bash"
fi
### Ngrok
if command -v ngrok > /dev/null; then
ngrok completion > "$COMPLETION_DIR/ngrok.bash"
elif [ -f "$COMPLETION_DIR/ngrok.bash" ]; then
rm -f "$COMPLETION_DIR/ngrok.bash"
fi fi
### nnn ### nnn
if command -v nnn > /dev/null && command -v brew > /dev/null && [ -f "$(brew --prefix nnn)/etc/bash_completion.d/nnn-completion.bash" ]; then if command -v nnn > /dev/null && command -v brew > /dev/null && [ -f "$(brew --prefix nnn)/etc/bash_completion.d/nnn-completion.bash" ]; then
cp "$(brew --prefix nnn)/etc/bash_completion.d/nnn-completion.bash" "$COMPLETION_DIR/nnn.bash" cp "$(brew --prefix nnn)/etc/bash_completion.d/nnn-completion.bash" "$COMPLETION_DIR/nnn.bash"
elif [ -f "$COMPLETION_DIR/nnn.bash" ]; then elif [ -f "$COMPLETION_DIR/nnn.bash" ]; then
rm "$COMPLETION_DIR/nnn.bash" rm -f "$COMPLETION_DIR/nnn.bash"
fi fi
### npm ### npm
if command -v npm > /dev/null; then if command -v npm > /dev/null; then
npm completion > "$COMPLETION_DIR/npm.bash" npm completion > "$COMPLETION_DIR/npm.bash"
elif [ -f "$COMPLETION_DIR/npm.bash" ]; then elif [ -f "$COMPLETION_DIR/npm.bash" ]; then
rm "$COMPLETION_DIR/npm.bash" rm -f "$COMPLETION_DIR/npm.bash"
fi fi
### Please ### Please
if command -v plz > /dev/null; then if command -v plz > /dev/null; then
plz --completion_script > "$COMPLETION_DIR/please.bash" plz --completion_script > "$COMPLETION_DIR/please.bash"
elif [ -f "$COMPLETION_DIR/please.bash" ]; then elif [ -f "$COMPLETION_DIR/please.bash" ]; then
rm "$COMPLETION_DIR/please.bash" rm -f "$COMPLETION_DIR/please.bash"
fi fi
### Portal ### Portal
if command -v portal > /dev/null; then if command -v portal > /dev/null; then
portal completion bash > "$COMPLETION_DIR/portal.bash" portal completion bash > "$COMPLETION_DIR/portal.bash"
elif [ -f "$COMPLETION_DIR/portal.bash" ]; then elif [ -f "$COMPLETION_DIR/portal.bash" ]; then
rm "$COMPLETION_DIR/portal.bash" rm -f "$COMPLETION_DIR/portal.bash"
fi fi
### Poetry ### Poetry
if command -v poetry > /dev/null; then if command -v poetry > /dev/null; then
poetry completions bash > "$COMPLETION_DIR/poetry.bash" poetry completions bash > "$COMPLETION_DIR/poetry.bash"
elif [ -f "$COMPLETION_DIR/poetry.bash" ]; then elif [ -f "$COMPLETION_DIR/poetry.bash" ]; then
rm "$COMPLETION_DIR/poetry.bash" rm -f "$COMPLETION_DIR/poetry.bash"
fi fi
### Sake ### Sake
if command -v sake > /dev/null; then if command -v sake > /dev/null; then
sake completion bash > "$COMPLETION_DIR/sake.bash" sake completion bash > "$COMPLETION_DIR/sake.bash"
elif [ -f "$COMPLETION_DIR/sake.bash" ]; then elif [ -f "$COMPLETION_DIR/sake.bash" ]; then
rm "$COMPLETION_DIR/sake.bash" rm -f "$COMPLETION_DIR/sake.bash"
fi fi
### Volta ### Volta
if command -v volta > /dev/null; then if command -v volta > /dev/null; then
volta completions bash > "$COMPLETION_DIR/volta.bash" volta completions bash > "$COMPLETION_DIR/volta.bash"
elif [ -f "$COMPLETION_DIR/volta.bash" ]; then elif [ -f "$COMPLETION_DIR/volta.bash" ]; then
rm "$COMPLETION_DIR/volta.bash" rm -f "$COMPLETION_DIR/volta.bash"
fi fi
### wp-cli (only bash available) ### wp-cli (only bash available)
if command -v wp > /dev/null; then if command -v wp > /dev/null; then
curl -sSL https://raw.githubusercontent.com/wp-cli/wp-cli/v2.7.1/utils/wp-completion.bash > "$COMPLETION_DIR/wp.bash" curl -sSL https://raw.githubusercontent.com/wp-cli/wp-cli/v2.7.1/utils/wp-completion.bash > "$COMPLETION_DIR/wp.bash"
elif [ -f "$COMPLETION_DIR/wp.bash" ]; then elif [ -f "$COMPLETION_DIR/wp.bash" ]; then
rm "$COMPLETION_DIR/wp.bash" rm -f "$COMPLETION_DIR/wp.bash"
fi fi
### zoxide ### zoxide
if command -v zoxide >/dev/null; then if command -v zoxide >/dev/null; then
zoxide init bash > "$COMPLETION_DIR/zoxide.bash" zoxide init bash > "$COMPLETION_DIR/zoxide.bash"
elif [ -f "$COMPLETION_DIR/zoxide.bash" ]; then elif [ -f "$COMPLETION_DIR/zoxide.bash" ]; then
rm "$COMPLETION_DIR/zoxide.bash" rm -f "$COMPLETION_DIR/zoxide.bash"
fi fi
{{ end -}} {{ end -}}

View file

@ -1,8 +1,8 @@
-----BEGIN AGE ENCRYPTED FILE----- -----BEGIN AGE ENCRYPTED FILE-----
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBtaEFzNURGQU82Q3dhK09M YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSAxNCtjVThweVZoOFVMbk9L
Zy9CQ3NJV04wN05OenkzVVV6T3VmKy9PdnlnCmNDUFVtUTYxZ2h1OVFvM2xtQXIr OEsza1BHQVp1bFhUVVhwN1VEektIOHNxRTBJCjZrUEJmL0ZHL2daWEx4a2NtTjgr
My9qbzNLNmk1V0tKSlkzVjBqMklaUG8KLS0tIDI4ZnNqNUFYdks0QURjVGd2cW0y VE5uak16L1ZJWkg0YmVzd0ZsWXJBVG8KLS0tIEx5OGdmVXR2T2pnZkJ5cTRWcWc0
bzdSL2QyUlVjMVcvdFI1OTdHL21yUkUKSncR0A7+wtIWGYPa37qWbd66hjukM46Y R0dYeG05WGJUNFdHSDlPQ2hvVlNSYmcKn0V2OQBIvhXmyvy69e/hpfCVHDXVFYyW
XgD3o2iXKvKwiYyfUbw6s7Il+Hz5VQhi6w2603zVLgJOxMJ5/NaCBHeA6IrSzOWU z125LvJO4ssiR6tbrsxymSjXjfWiwIhWvLBN+ZLuP7gLB7BBdm18jpUxiGtfcH9r
ip8= uFM=
-----END AGE ENCRYPTED FILE----- -----END AGE ENCRYPTED FILE-----

View file

@ -248,6 +248,11 @@ export MCFLY_KEY_SCHEME=vim
### minikube ### minikube
export MINIKUBE_HOME="$XDG_DATA_HOME/minikube" export MINIKUBE_HOME="$XDG_DATA_HOME/minikube"
### Monero
if [ -f /Applications/monero-wallet-gui.app/Contents/MacOS/monerod ]; then
export PATH="$PATH:/Applications/monero-wallet-gui.app/Contents/MacOS"
fi
### MySQL ### MySQL
export MYSQL_HISTFILE="$XDG_DATA_HOME/mysql_history" export MYSQL_HISTFILE="$XDG_DATA_HOME/mysql_history"

View file

@ -1570,6 +1570,7 @@ softwarePackages:
_github: https://github.com/kelseyhightower/confd _github: https://github.com/kelseyhightower/confd
_home: null _home: null
_name: confd _name: confd
_service: consul
_type: cli _type: cli
brew: confd brew: confd
choco: confd choco: confd
@ -2689,7 +2690,7 @@ softwarePackages:
_github: https://github.com/chrissimpkins/Crunch _github: https://github.com/chrissimpkins/Crunch
_home: https://github.com/chrissimpkins/Crunch _home: https://github.com/chrissimpkins/Crunch
_name: Crunch _name: Crunch
brew: crunch script: cd /tmp && rm -rf Crunch && git clone https://github.com/chrissimpkins/Crunch.git && make build-dependencies && make install-executable
eul: eul:
_bin: null _bin: null
_desc: Menu bar application that shows system stats like CPU, RAM, and disk usage on macOS _desc: Menu bar application that shows system stats like CPU, RAM, and disk usage on macOS
@ -5143,6 +5144,7 @@ softwarePackages:
_docs: https://www.getmonero.org/resources/user-guides/ _docs: https://www.getmonero.org/resources/user-guides/
_home: https://www.getmonero.org/ _home: https://www.getmonero.org/
_restricted: true _restricted: true
_when:darwin: '! test -f /Applications/monero-wallet-gui.app/Contents/MacOS/monerod'
brew: monero brew: monero
scoop: monero scoop: monero
mymonero: mymonero:
@ -7050,6 +7052,7 @@ softwarePackages:
_name: Audacity _name: Audacity
appimage: Audacity appimage: Audacity
apt: audacity apt: audacity
cask: audacity
choco: audacity choco: audacity
dnf: audacity dnf: audacity
flatpak: org.audacityteam.Audacity flatpak: org.audacityteam.Audacity
@ -8880,6 +8883,15 @@ softwarePackages:
_name: winrm-cli _name: winrm-cli
_type: cli _type: cli
yay: winrm-cli-git yay: winrm-cli-git
browserosaurus:
_bin: null
_desc:
_docs:
_github:
_home:
_name: Browserosaurus
_when:cask: '! test -d /Applications/Browserosaurus.app'
cask: browserosaurus
docker: docker:
_bin: docker _bin: docker
_desc: null _desc: null
@ -9309,6 +9321,22 @@ softwarePlugins:
# cmd: Handled by .chezmoiexternal.toml # cmd: Handled by .chezmoiexternal.toml
plugins: plugins:
- Microsoft.CST.AttackSurfaceAnalyzer.CLI - Microsoft.CST.AttackSurfaceAnalyzer.CLI
gcloud:
cmd: bash -c 'gcloud components install {PLUGIN}'
plugins:
- app-engine-go
- cloud-datastore-emulator
- cloud-firestore-emulator
- cloud-run-proxy
- gke-gcloud-auth-plugin
- kubectl
- kustomize
- log-streaming
- minikube
- pubsub-emulator
- skaffold
- terraform-tools
update: gcloud components update
gh: gh:
cmd: bash -c 'if [ -n "$GITHUB_TOKEN" ] && ! gh extension list | grep {PLUGIN}; then gh extension install {PLUGIN}; fi' cmd: bash -c 'if [ -n "$GITHUB_TOKEN" ] && ! gh extension list | grep {PLUGIN}; then gh extension install {PLUGIN}; fi'
plugins: plugins: