Loading .bashrc +15 −0 Original line number Diff line number Diff line Loading @@ -221,6 +221,21 @@ match_ssl_pair () { return "$exitcode" } flatpak-kill () { if [ "$#" -lt 1 ] then echo "You must specify application name." >> /dev/stderr false else name="$1" shift for pid in $(flatpak ps --columns=application,pid | awk "tolower(\$2) ~ /$name/ {print \$3}") do pkill "$@" "$pid" done fi } __run_duration () { if [ -f "$HOME/.prerun.$$" ] then Loading Loading
.bashrc +15 −0 Original line number Diff line number Diff line Loading @@ -221,6 +221,21 @@ match_ssl_pair () { return "$exitcode" } flatpak-kill () { if [ "$#" -lt 1 ] then echo "You must specify application name." >> /dev/stderr false else name="$1" shift for pid in $(flatpak ps --columns=application,pid | awk "tolower(\$2) ~ /$name/ {print \$3}") do pkill "$@" "$pid" done fi } __run_duration () { if [ -f "$HOME/.prerun.$$" ] then Loading