mirror of https://tildegit.org/ben/dotfiles
fix cat and lg functions
parent
c36c75cf85
commit
769a39b3a0
|
@ -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
|
||||
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
function cat
|
||||
if type -q bat >/dev/null
|
||||
bat $argv
|
||||
else
|
||||
command cat $argv
|
||||
end
|
||||
end
|
|
@ -1,4 +1,8 @@
|
|||
function lg
|
||||
if type -q lazygit > /dev/null
|
||||
lazygit $argv
|
||||
else
|
||||
git status
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue