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'
|
||||
if command -sq bat
|
||||
bat --theme Dracula $argv;
|
||||
else if command -sq ccat
|
||||
function cat --description 'alias cat to ccat'
|
||||
# if command -sq bat
|
||||
# bat --theme Dracula $argv;
|
||||
# else if command -sq ccat
|
||||
# ccat $argv;
|
||||
if command -sq ccat
|
||||
ccat $argv;
|
||||
else
|
||||
set catpath (which cat)
|
||||
|
|
Loading…
Reference in New Issue