From 5139d315cafdac9d8ce74345e1b23a5f66ab1172 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Sat, 19 Aug 2023 12:41:33 -0500 Subject: [PATCH] refactor(zsh): make gl alias open Neovim Neogit log --- dots/.config/zsh/config/profile/profile/aliases.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dots/.config/zsh/config/profile/profile/aliases.zsh b/dots/.config/zsh/config/profile/profile/aliases.zsh index 568860d2..35564b15 100644 --- a/dots/.config/zsh/config/profile/profile/aliases.zsh +++ b/dots/.config/zsh/config/profile/profile/aliases.zsh @@ -28,7 +28,7 @@ if command -v git >/dev/null 2>&1; then alias gsw="git switch" alias gd="nvim -c 'DiffviewOpen' -R" alias gr="git remote" - alias gl="git log" + alias gl="nvim -c 'call feedkeys(\":Neogit log\l\")'" alias glo="git log --oneline" alias gw="git worktree" alias gwa="git worktree add"