From c0ede2486012436f273aa26ded8c54d5d25d4a85 Mon Sep 17 00:00:00 2001 From: Giovanni Bassi Date: Mon, 27 May 2024 17:48:17 -0300 Subject: [PATCH] Prepare aliases to work with Kitty --- aliases/custom.aliases.bash | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/aliases/custom.aliases.bash b/aliases/custom.aliases.bash index bfda4f1..d63212d 100755 --- a/aliases/custom.aliases.bash +++ b/aliases/custom.aliases.bash @@ -6,7 +6,7 @@ source "$DIR"/../lib/complete-alias/complete_alias if [ -x /usr/bin/dircolors ]; then # shellcheck disable=SC2015 # we want to eval in the end in either case test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)" - alias ls='ls --color=auto' + alias ls='ls --color=auto --hyperlink=always' #alias dir='dir --color=auto' #alias vdir='vdir --color=auto' @@ -17,7 +17,7 @@ fi # some more ls aliases if hash eza 2>/dev/null; then - alias ll='eza --long --group --all --all --group-directories-first' + alias ll='eza --long --group --all --all --group-directories-first --hyperlink' else alias ll='ls -alF' fi @@ -97,3 +97,7 @@ fi if hash github-copilot-cli 2>/dev/null; then eval "$(github-copilot-cli alias -- "$0")" fi + +if hash kitty 2>/dev/null; then + alias mg='kitty +kitten hyperlinked_grep --smart-case' +fi