Compare commits
3 Commits
main
...
00ca94a9f3
| Author | SHA1 | Date | |
|---|---|---|---|
| 00ca94a9f3 | |||
| 8a1511f689 | |||
| 26b147b929 |
@@ -181,3 +181,5 @@ fi
|
||||
# ble.sh
|
||||
# https://github.com/akinomyoga/ble.sh#13-set-up-bashrc
|
||||
[[ ${BLE_VERSION-} ]] && ble-attach
|
||||
|
||||
if command -v wt >/dev/null 2>&1; then eval "$(command wt config shell init bash)"; fi
|
||||
|
||||
2
home/.config/fish/completions/wt.fish
Normal file
2
home/.config/fish/completions/wt.fish
Normal file
@@ -0,0 +1,2 @@
|
||||
# worktrunk completions for fish
|
||||
complete --keep-order --exclusive --command wt --arguments "(test -n \"\$WORKTRUNK_BIN\"; or set -l WORKTRUNK_BIN (type -P wt 2>/dev/null); and COMPLETE=fish \$WORKTRUNK_BIN -- (commandline --current-process --tokenize --cut-at-cursor) (commandline --current-token))"
|
||||
15
home/.config/fish/functions/wt.fish
Normal file
15
home/.config/fish/functions/wt.fish
Normal file
@@ -0,0 +1,15 @@
|
||||
# worktrunk shell integration for fish
|
||||
# Sources full integration from binary on first use.
|
||||
# Docs: https://worktrunk.dev/config/#shell-integration
|
||||
# Check: wt config show | Uninstall: wt config shell uninstall
|
||||
|
||||
function wt
|
||||
command wt config shell init fish | source
|
||||
# Check both command exit code ($pipestatus[1]) and source exit code ($pipestatus[2])
|
||||
# If source fails, the function isn't replaced and we'd infinite-loop calling ourselves
|
||||
set -l wt_status $pipestatus[1]
|
||||
set -l source_status $pipestatus[2]
|
||||
test $wt_status -eq 0; or return $wt_status
|
||||
test $source_status -eq 0; or return $source_status
|
||||
wt $argv
|
||||
end
|
||||
@@ -21,13 +21,15 @@ brew install \
|
||||
gh \
|
||||
git \
|
||||
git-delta \
|
||||
hmans/beans/beans \
|
||||
jq \
|
||||
lazygit \
|
||||
neovim \
|
||||
restic \
|
||||
ripgrep \
|
||||
stow \
|
||||
tmux
|
||||
tmux \
|
||||
worktrunk
|
||||
#crane \
|
||||
#deno \
|
||||
#go \
|
||||
@@ -83,6 +85,7 @@ flatpak install flathub org.gimp.GIMP
|
||||
flatpak install flathub org.gimp.GIMP.Plugin.GMic
|
||||
flatpak install flathub org.musicbrainz.Picard
|
||||
flatpak install flathub fr.handbrake.ghb
|
||||
flatpak install flathub com.github.jeromerobert.pdfarranger
|
||||
|
||||
# Install devbox
|
||||
# https://www.jetify.com/docs/devbox/installing-devbox
|
||||
|
||||
Reference in New Issue
Block a user