Skip to content

Commit c0ede24

Browse files
committed
Prepare aliases to work with Kitty
1 parent c81c415 commit c0ede24

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

aliases/custom.aliases.bash

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ source "$DIR"/../lib/complete-alias/complete_alias
66
if [ -x /usr/bin/dircolors ]; then
77
# shellcheck disable=SC2015 # we want to eval in the end in either case
88
test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
9-
alias ls='ls --color=auto'
9+
alias ls='ls --color=auto --hyperlink=always'
1010
#alias dir='dir --color=auto'
1111
#alias vdir='vdir --color=auto'
1212

@@ -17,7 +17,7 @@ fi
1717

1818
# some more ls aliases
1919
if hash eza 2>/dev/null; then
20-
alias ll='eza --long --group --all --all --group-directories-first'
20+
alias ll='eza --long --group --all --all --group-directories-first --hyperlink'
2121
else
2222
alias ll='ls -alF'
2323
fi
@@ -97,3 +97,7 @@ fi
9797
if hash github-copilot-cli 2>/dev/null; then
9898
eval "$(github-copilot-cli alias -- "$0")"
9999
fi
100+
101+
if hash kitty 2>/dev/null; then
102+
alias mg='kitty +kitten hyperlinked_grep --smart-case'
103+
fi

0 commit comments

Comments
 (0)