fish(alias cat): Don't use bat in place of cat
This commit is contained in:
parent
ea99a75351
commit
7a6ad04f90
|
@ -1,7 +1,9 @@
|
||||||
function cat --description 'alias cat to bat, ccat, or cat'
|
function cat --description 'alias cat to ccat'
|
||||||
if command -sq bat
|
# if command -sq bat
|
||||||
bat --theme Dracula $argv;
|
# bat --theme Dracula $argv;
|
||||||
else if command -sq ccat
|
# else if command -sq ccat
|
||||||
|
# ccat $argv;
|
||||||
|
if command -sq ccat
|
||||||
ccat $argv;
|
ccat $argv;
|
||||||
else
|
else
|
||||||
set catpath (which cat)
|
set catpath (which cat)
|
||||||
|
|
Loading…
Reference in New Issue