sh: Use relative alias for cat command
Fixes https://github.com/carapace-sh/carapace-bin/issues/2971 until the merge is in the new release version.
This commit is contained in:
parent
acc2496bd6
commit
24120f55b2
1 changed files with 2 additions and 2 deletions
|
|
@ -13,8 +13,8 @@ alias rcat="$(which cat)"
|
|||
if command -v batcat >/dev/null 2>&1; then
|
||||
# For Ubuntu and Debian-based `bat` packages
|
||||
# the `bat` program is named `batcat` on these systems
|
||||
alias cat="$(which batcat)"
|
||||
alias cat="batcat"
|
||||
elif command -v bat >/dev/null 2>&1; then
|
||||
# For all other systems
|
||||
alias cat="$(which bat)"
|
||||
alias cat="bat"
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue