From 5a08bdc7ea9b68a44cedf14c6439148da87c4d28 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Wed, 5 Apr 2023 18:00:00 +0100 Subject: [PATCH] chore(git): remove the `g` function This is now used as an alias for `git`. --- home-manager/modules/zsh.nix | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/home-manager/modules/zsh.nix b/home-manager/modules/zsh.nix index b1f500aa..e4ffa75c 100644 --- a/home-manager/modules/zsh.nix +++ b/home-manager/modules/zsh.nix @@ -28,18 +28,6 @@ zstyle ":completion:*" matcher-list "" "m:{a-zA-Z}={A-Za-z}" "r:|=*" "l:|=* r:|=*" autoload -Uz compinit && compinit - # No arguments: `git status` - # With arguments: acts like `git` - g() { - if [[ $# -gt 0 ]]; then - git "$@" - else - git status - fi - } - - compdef g=git - clear-ls-all() { clear exa -al