add stop command to zsh

This commit is contained in:
2025-07-16 16:35:52 +02:00
parent 1b10974153
commit c3656998c0
+1
View File
@@ -72,6 +72,7 @@
g = "git"; g = "git";
ls = "ls --color=auto"; ls = "ls --color=auto";
gedit = "gnome-text-editor"; gedit = "gnome-text-editor";
stop = "kill_by_name() { pids=$(pgrep -f $1); if [ -n \"$pids\" ]; then kill -9 $pids; else echo \"No matching process found.\"; fi; }; kill_by_name";
}; };
sessionVariables = { sessionVariables = {