From e4a1c4a142830707446a4146ba7ac647d21581c9 Mon Sep 17 00:00:00 2001 From: zegonix Date: Wed, 14 Jan 2026 15:03:00 +0100 Subject: [PATCH] (bashrc) added default options for fzf --- bashrc/.bashrc | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/bashrc/.bashrc b/bashrc/.bashrc index 4650de5..2ffadc8 100644 --- a/bashrc/.bashrc +++ b/bashrc/.bashrc @@ -40,12 +40,15 @@ else alias list='ls -hal --color=auto' fi +# aliases related to `grep` +if $(which ug &>/dev/null); then + alias ugi='ug -j' +fi if $(which rg &>/dev/null); then alias rg='rg --color=always -n' alias rgi='rg -i -n -A 1 -B 1 --color=always' -else - alias grep='grep --color=always' fi +alias grep='grep --color=always' alias bdiff='diff -uw --color=always' @@ -111,6 +114,9 @@ for script in ${source_list[@]}; do fi done +# configure `fzf` (fuzzy finder) +export FZF_DEFAULT_OPTS='--style default' + # disable terminal flow control (XON/XOFF) -> disable `C-s/C-q` keybindings # this way the keybindings can be used for other purposes if [[ -t 0 && $- = *i* ]]; then