Update dotfiles/.bashrc, dotfiles/.local/share/fonts/Hack Bold Nerd Font Complete.ttf

This commit is contained in:
Brian Zalewski 2022-09-30 14:09:57 +00:00
parent 6be08c1f6a
commit cc64f7b3d7
2 changed files with 47 additions and 44 deletions

View file

@ -202,7 +202,7 @@ find() {
fi
}
rga-fzf() {
rgafzf() {
RG_PREFIX="rga --files-with-matches"
local file
file="$(
@ -216,43 +216,46 @@ rga-fzf() {
xdg-open "$file"
}
### fd
[ -e /usr/local/src/fd/fd ] && source /usr/local/src/fd/autocomplete/fd.bash-completion
# Bash completions
if [ "$0" = 'bash' ]; then
### fd
[ -e /usr/local/src/fd/fd ] && source /usr/local/src/fd/autocomplete/fd.bash-completion
### Hyperfine
[ -e /usr/local/src/hyperfine/hyperfine ] && source /usr/local/src/hyperfine/autocomplete/hyperfine.bash-completion
### Hyperfine
[ -e /usr/local/src/hyperfine/hyperfine ] && source /usr/local/src/hyperfine/autocomplete/hyperfine.bash-completion
### mcfly
export MCFLY_KEY_SCHEME=vim
[ -e /usr/local/src/mcfly/mcfly ] && eval "$(mcfly init bash)"
### mcfly
export MCFLY_KEY_SCHEME=vim
[ -e /usr/local/src/mcfly/mcfly ] && eval "$(mcfly init bash)"
### wp-cli
[ -e /usr/local/bin/wp ] && source /usr/local/src/wp-cli/wp-completion.bash
### wp-cli
[ -e /usr/local/bin/wp ] && source /usr/local/src/wp-cli/wp-completion.bash
### direnv
[ -e /usr/local/bin/direnv ] && eval "$(direnv hook bash)"
### direnv
[ -e /usr/local/bin/direnv ] && eval "$(direnv hook bash)"
### Googler
[ -e /usr/local/bin/googler ] && source /usr/local/src/googler/googler-completion.bash
[ -e /usr/local/bin/googler ] && source /usr/local/src/googler/googler_at
### Googler
[ -e /usr/local/bin/googler ] && source /usr/local/src/googler/googler-completion.bash
[ -e /usr/local/bin/googler ] && source /usr/local/src/googler/googler_at
### FZF
[ -f ~/.local/fzf.bash ] && source ~/.local/fzf.bash
### FZF
[ -f ~/.local/fzf.bash ] && source ~/.local/fzf.bash
### Google Cloud SDK
if command -v brew > /dev/null; then
### Google Cloud SDK
if command -v brew > /dev/null; then
if [ -f "$(brew --prefix)/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/path.bash.inc" ]; then
. "$(brew --prefix)/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/path.bash.inc"
fi
if [ -f "$(brew --prefix)/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/completion.bash.inc" ]; then
. "$(brew --prefix)/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/completion.bash.inc"
fi
fi
fi
### zoxide
command -v zoxide > /dev/null && eval "$(zoxide init bash)"
### zoxide
command -v zoxide > /dev/null && eval "$(zoxide init bash)"
### Fig
if [ -f "$HOME/.fig/shell/bashrc.post.bash" ]; then
### Fig
if [ -f "$HOME/.fig/shell/bashrc.post.bash" ]; then
. "$HOME/.fig/shell/bashrc.post.bash"
fi
fi