This commit is contained in:
Brian Zalewski 2023-05-15 01:42:09 +00:00
parent 150ce3bb71
commit eddd551856
4 changed files with 54 additions and 8 deletions

View file

@ -322,7 +322,9 @@ softwareGroups:
- speed-test - speed-test
- statcode - statcode
- stegcloak - stegcloak
- thefuck
- tldr - tldr
- tmuxinator
- up - up
- yank - yank
Cloud: &Cloud Cloud: &Cloud

View file

@ -101,6 +101,11 @@ if [ "$BASH_SUPPORT" = 'true' ]; then
. "$HOME/.fig/shell/bashrc.post.bash" . "$HOME/.fig/shell/bashrc.post.bash"
fi fi
### The Fuck
if command -v thefuck > /dev/null; then
eval "$(thefuck --alias)"
fi
### Vault ### Vault
if command -v vault > /dev/null; then if command -v vault > /dev/null; then
complete -C vault vault complete -C vault vault

View file

@ -79,6 +79,12 @@ zstyle ':completion:*' use-compctl false
zstyle ':completion:*' verbose true zstyle ':completion:*' verbose true
# shellcheck disable=SC2016 # shellcheck disable=SC2016
zstyle ':completion:*:kill:*' command 'ps -u $USER -o pid,%cpu,tty,cputime,cmd' zstyle ':completion:*:kill:*' command 'ps -u $USER -o pid,%cpu,tty,cputime,cmd'
zstyle ':completion:*:git-checkout:*' sort false
zstyle ':completion:*:descriptions' format '[%d]'
if command -v fzf > /dev/null && command -v exa > /dev/null; then
zstyle ':fzf-tab:complete:cd:*' fzf-preview 'exa -1 --color=always $realpath'
zstyle ':fzf-tab:*' switch-group ',' '.'
fi
# Key bindings # Key bindings
bindkey -e bindkey -e
@ -336,16 +342,18 @@ if command -v antigen > /dev/null; then
antigen bundle sprunge antigen bundle sprunge
# antigen bundle ssh-agent # antigen bundle ssh-agent
antigen bundle sudo antigen bundle sudo
antigen bundle terraform
antigen bundle thefuck
antigen bundle timer
antigen bundle tmuxinator
antigen bundle urltools
antigen bundle ufw antigen bundle ufw
antigen bundle vagrant
antigen bundle volta
antigen bundle web-search antigen bundle web-search
antigen bundle wp-cli
antigen bundle docker antigen bundle docker
antigen bundle docker-compose antigen bundle docker-compose
antigen bundle ionic
antigen bundle multipass
antigen bundle pip
antigen bundle pm2
antigen bundle terraform
antigen bundle vagrant
antigen bundle yarn antigen bundle yarn
# Third-party plugins # Third-party plugins
@ -355,9 +363,15 @@ if command -v antigen > /dev/null; then
antigen bundle zsh-interactive-cd antigen bundle zsh-interactive-cd
# antigen bundle zsh-navigation-tools # antigen bundle zsh-navigation-tools
antigen bundle zsh-users/zsh-completions src antigen bundle zsh-users/zsh-completions src
antigen bundle zsh-users/zsh-syntax-highlighting if command -v fzf > /dev/null; then
antigen bundle zsh-users/zsh-autosuggestions antigen bundle aloxaf/fzf-tab
fi
antigen bundle marlonrichert/zsh-autocomplete@main antigen bundle marlonrichert/zsh-autocomplete@main
antigen bundle zsh-users/zsh-autosuggestions
antigen bundle zsh-users/zsh-syntax-highlighting
if [ -d /Applications ] && [ -d /System ]; then
antigen bundle zsh-apple-touchbar
fi
antigen theme romkatv/powerlevel10k antigen theme romkatv/powerlevel10k
antigen apply antigen apply
fi fi
@ -403,6 +417,11 @@ if [ -f "$HOME/.local/scripts/p10k.zsh" ]; then
source "$HOME/.local/scripts/p10k.zsh" source "$HOME/.local/scripts/p10k.zsh"
fi fi
### The Fuck
if command -v thefuck > /dev/null; then
eval "$(thefuck --alias)"
fi
### Bash Completions ### Bash Completions
autoload -U +X bashcompinit && bashcompinit autoload -U +X bashcompinit && bashcompinit

View file

@ -955,6 +955,18 @@ softwarePackages:
scoop: bottom scoop: bottom
snap: bottom snap: bottom
_type: cli _type: cli
thefuck:
_bin: fuck
_desc: Magnificent CLI tool that corrects your previous console command whenever something fails due to misspelling.
_docs: https://github.com/nvbn/thefuck
_github: https://github.com/nvbn/thefuck
_home: https://github.com/nvbn/thefuck
_name: The Fuck
brew: thefuck
crew: thefuck
pacman: thefuck
pipx: thefuck
pkg-freebsd: thefuck
cod: cod:
_bin: cod _bin: cod
_todo: Check for brew install later on (5/14/2023) _todo: Check for brew install later on (5/14/2023)
@ -7516,6 +7528,14 @@ softwarePackages:
brew: tldr brew: tldr
npm: tldr npm: tldr
_type: cli _type: cli
tmuxinator:
_bin: tmuxinator
_desc: Manage complex tmux sessions easily
_docs: https://github.com/tmuxinator/tmuxinator
_github: https://github.com/tmuxinator/tmuxinator
_home: https://github.com/tmuxinator/tmuxinator
_name: Tmuxinator
brew: tmuxinator
tmux: tmux:
_bin: tmux _bin: tmux
_desc: '[Tmux](https://github.com/tmux/tmux/wiki) is a terminal multiplexer. It enables a number of terminals to be created, accessed, and controlled from a single screen. Tmux may be detached from a screen and continue running in the background, then later reattached.' _desc: '[Tmux](https://github.com/tmux/tmux/wiki) is a terminal multiplexer. It enables a number of terminals to be created, accessed, and controlled from a single screen. Tmux may be detached from a screen and continue running in the background, then later reattached.'