summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--.zshrc8
1 files changed, 5 insertions, 3 deletions
diff --git a/.zshrc b/.zshrc
index bdb1933d..354a5dae 100644
--- a/.zshrc
+++ b/.zshrc
@@ -120,10 +120,12 @@ alias Syu='pacman -Syu'
 alias Ss='pacman -Ss'
 alias p='pacman'
 
-compdef hub=git
-alias git=hub
-alias g=hub
+if which hub &> /dev/null; then
+  compdef hub=git
+  alias git=hub
+fi
 
+alias g=git
 alias ga='git add'
 alias gb='git branch'
 alias gc='git commit'
27fc6f28e074a6&follow=1'>Import LibreSSL 3.2.2June McEnroe 2020-09-29Import LibreSSL 3.2.1June McEnroe 2020-09-29import: Add m4/ax_add_fortify_source.m4June McEnroe 2020-08-05build: Add README.7 to EXTRA_DIST 3.2.0June McEnroe 2020-08-03doc: Indicate that only OpenSSL 1.1.1b and newer workJune McEnroe