Browse Source

Add alias for lazygit in present in PATH

Emmanuel Bouthenot 4 months ago
parent
commit
9ae505cfb2
1 changed files with 4 additions and 0 deletions
  1. 4 0
      zsh/zshrc

+ 4 - 0
zsh/zshrc

@@ -135,6 +135,10 @@ git() {
 }
 alias g='git'
 
+if (( $+commands[lazygit] )); then
+    alias lg='lazygit'
+fi
+
 #
 # Tmux
 #