summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Sima <bsima@groq.com>2022-04-22 09:26:04 -0700
committerBen Sima <bsima@groq.com>2022-04-22 09:26:51 -0700
commitf5c869c8cb96e9fd05250cfafd6a9843697af500 (patch)
treeee60917d2a9e94f3c48532f7b05346be51fdb335
parentfaa3ffcd9f11578badaa6dd44dd7fe454d2fa23d (diff)
add select all to fkill
-rw-r--r--lib/common.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/common.nix b/lib/common.nix
index 4b189a7..917025c 100644
--- a/lib/common.nix
+++ b/lib/common.nix
@@ -318,7 +318,7 @@ in
# kill a process with fzf
fkill() {
local pid
- pid=$(ps -ef | sed 1d | fzf -m | awk '{print $2}')
+ pid=$(ps -ef | sed 1d | fzf -m --bind "ctrl-a:select-all"| awk '{print $2}')
if [ "x$pid" != "x" ]
then