about summary refs log tree commit diff
path: root/fish/.local/etc/fish/conf.d/git.fish
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--fish/.local/etc/fish/conf.d/git.fish7
1 files changed, 7 insertions, 0 deletions
diff --git a/fish/.local/etc/fish/conf.d/git.fish b/fish/.local/etc/fish/conf.d/git.fish
new file mode 100644
index 0000000..f3c33f5
--- /dev/null
+++ b/fish/.local/etc/fish/conf.d/git.fish
@@ -0,0 +1,7 @@
+if command -s git &>/dev/null
+    if command -s hub &>/dev/null
+        alias git hub
+    end
+
+    alias g git
+end

Consider giving Nix/NixOS a try! <3