fix cat and lg functions

This commit is contained in:
Ben Harris 2018-09-14 03:31:13 -04:00
parent c36c75cf85
commit 769a39b3a0
Signed by untrusted user: ben
GPG Key ID: 4E0AF802FFF7960C
3 changed files with 13 additions and 4 deletions

4
.gitmodules vendored
View File

@ -1,6 +1,4 @@
[submodule "fish/.config/fish/nvm-wrapper"]
path = fish/.config/fish/nvm-wrapper
url = https://github.com/passcod/nvm-fish-wrapper
[submodule "vim/.spf13-vim"]
path = vim/.spf13-vim
url = https://github.com/spf13/spf13-vim

View File

@ -0,0 +1,7 @@
function cat
if type -q bat >/dev/null
bat $argv
else
command cat $argv
end
end

View File

@ -1,4 +1,8 @@
function lg
lazygit $argv
if type -q lazygit > /dev/null
lazygit $argv
else
git status
end
end