Movint to Fish + Tide
This commit is contained in:
parent
4b08537918
commit
ae7e402728
28 changed files with 167 additions and 326 deletions
9
.config/fish/functions/grep.fish
Normal file
9
.config/fish/functions/grep.fish
Normal file
|
@ -0,0 +1,9 @@
|
|||
function grep
|
||||
if test "$pipestatus" = "0"
|
||||
# No pipe before the grep
|
||||
command grep -n --color=auto $argv
|
||||
else
|
||||
# There is a pipe before the grep
|
||||
command grep --color=auto $argv
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue