nixos: gen 36 @ lilac — 2026-09-17 14:14 26.05.20260814.02e0898 (Yarara) -----
This commit is contained in:
@@ -62,6 +62,18 @@ in
|
||||
|
||||
custom_wvkbd
|
||||
|
||||
(pkgs.writeShellScriptBin "fkill" ''
|
||||
if [ -z "$1" ]; then
|
||||
echo "Need the name of one application"
|
||||
echo "eg. fkill google-chrome"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
PROGRAM=$1
|
||||
|
||||
ps aux | grep $PROGRAM | awk '{print $2}' | xargs kill
|
||||
'')
|
||||
|
||||
(pkgs.writeShellScriptBin "find-open-port" ''
|
||||
if [ -z "$1" ]; then
|
||||
echo "Please provide an application name, project directory, or other identifier."
|
||||
|
||||
Reference in New Issue
Block a user