about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--.gitmodules4
-rw-r--r--fish/.config/fish/functions/cat.fish7
-rw-r--r--fish/.config/fish/functions/lg.fish6
3 files changed, 13 insertions, 4 deletions
diff --git a/.gitmodules b/.gitmodules
index 0725e7a..0495623 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -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
+
diff --git a/fish/.config/fish/functions/cat.fish b/fish/.config/fish/functions/cat.fish
new file mode 100644
index 0000000..47f06e3
--- /dev/null
+++ b/fish/.config/fish/functions/cat.fish
@@ -0,0 +1,7 @@
+function cat
+	if type -q bat >/dev/null
+bat $argv
+else
+command cat $argv
+end
+end
diff --git a/fish/.config/fish/functions/lg.fish b/fish/.config/fish/functions/lg.fish
index 2aabb9d..4b7665e 100644
--- a/fish/.config/fish/functions/lg.fish
+++ b/fish/.config/fish/functions/lg.fish
@@ -1,4 +1,8 @@
 function lg
-    lazygit $argv
+    if type -q lazygit > /dev/null
+        lazygit $argv
+    else
+        git status
+    end
 end