From 11c2a60b3a8709993ef08b847eaacf7c255db971 Mon Sep 17 00:00:00 2001 From: Chloe Kudryavtsev Date: Sun, 10 Apr 2022 19:53:04 -0400 Subject: fish: use return instead of exit --- dot_config/private_fish/plug/ugrep.fish | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dot_config/private_fish/plug/ugrep.fish') diff --git a/dot_config/private_fish/plug/ugrep.fish b/dot_config/private_fish/plug/ugrep.fish index 2a2b8b3..6a396c4 100644 --- a/dot_config/private_fish/plug/ugrep.fish +++ b/dot_config/private_fish/plug/ugrep.fish @@ -1,4 +1,4 @@ -type -qf ugrep || exit +type -qf ugrep || return alias grep 'ugrep -G' alias egrep 'ugrep -E' alias fgrep 'ugrep -F' @@ -11,7 +11,7 @@ alias zxgrep 'ugrep -zW' alias xdump 'ugrep -X ""' -type -qf ug || exit +type -qf ug || return alias uq 'ug -Q' alias ux 'ug -UX' alias uz 'ug -z' -- cgit v1.2.3