From 673a30e1df671c0884c5788cac59dd2464cd6192 Mon Sep 17 00:00:00 2001 From: Uyanide Date: Tue, 16 Dec 2025 21:48:57 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=90=20foo:=20too=20lazy=20to=20come=20?= =?UTF-8?q?up=20with=20a=20helpful=20commit=20message=20:)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/shell/.config/fish/post.d/alias.fish | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/config/shell/.config/fish/post.d/alias.fish b/config/shell/.config/fish/post.d/alias.fish index fc293a6..99c1963 100644 --- a/config/shell/.config/fish/post.d/alias.fish +++ b/config/shell/.config/fish/post.d/alias.fish @@ -91,12 +91,11 @@ if type -q tty-clock end if type -q git - function acp - git add . || return 1 + function gcp if test (count $argv) -eq 0 - git commit -m "👐 foo: too lazy to come up with a helpful commit message :)" || return 1 + git commit -a -m "👐 foo: too lazy to come up with a helpful commit message :)" || return 1 else - git commit -m "$argv" || return 1 + git commit -a -m "$argv" || return 1 end git push end @@ -110,7 +109,7 @@ if type -q git set -l repo (wl-paste) git clone $repo || return 1 set -l repo_name (basename $repo .git) - nohup idea $repo_name > /dev/null 2>&1 & disown + nohup idea $repo_name >/dev/null 2>&1 & disown end end end