fix a bug in the fish config (#63)
This commit is contained in:
commit
9e27df38ec
1 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
function cat --wraps=bat --description 'alias cat=bat'
|
function cat --wraps=bat --description 'alias cat=bat'
|
||||||
if type -f bat &>/dev/null
|
if type -f bat &>/dev/null; and [ -t 1 ]
|
||||||
bat $argv
|
bat $argv
|
||||||
else
|
else
|
||||||
cat $argv
|
command cat $argv
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Reference in a new issue