Archived
add stop command to zsh
This commit is contained in:
@@ -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 = {
|
||||||
|
|||||||
Reference in New Issue
Block a user