diff options
-rw-r--r-- | bashrc | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -27,6 +27,8 @@ export PATH=~/bin/:$PATH source $HOME/dotfiles/openai_key # aliases +alias pacget="pacman -Slq | fzf --multi --preview 'pacman -Si {1}' | xargs -ro sudo pacman -S" +alias pacdel="pacman -Qq | fzf --multi --preview 'pacman -Qi {1}' | xargs -ro sudo pacman -Rns" alias gloga='git log --oneline --decorate --graph --all' alias batnote='batnote-source-code' alias am='append_to_masterlist' @@ -52,11 +54,15 @@ export TERM="screen-256color" export LESS="-iMRS -x2" export NOTES_DIR="~/Documents/Notes" export RANGER_LOAD_DEFAULT_RC="FALSE" -export FZF_DEFAULT_COMMAND="ag --nocolor -g " +export FZF_DEFAULT_COMMAND="rg --files --hidden --glob '!.git' " export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND" export FZF_ALT_C_COMMAND="$FZF_DEFAULT_COMMAND" export FZF_DEFAULT_OPTS="--color info:108,prompt:109,spinner:108,pointer:168,marker:168" +# fzf +source /usr/share/fzf/key-bindings.bash +source /usr/share/fzf/completion.bash + # gpg export=GPG_TTY="$(tty)" export=SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)" |