Skip to content

Commit

Permalink
Prepare aliases to work with Kitty
Browse files Browse the repository at this point in the history
  • Loading branch information
giggio committed May 27, 2024
1 parent c81c415 commit c0ede24
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions aliases/custom.aliases.bash
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand All @@ -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
Expand Down Expand Up @@ -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

0 comments on commit c0ede24

Please sign in to comment.