mirror of
https://github.com/junegunn/fzf.git
synced 2025-11-18 08:13:40 -05:00
Make pid variable local
@@ -300,6 +300,7 @@ fi
|
||||
```sh
|
||||
# fkill - kill process
|
||||
fkill() {
|
||||
local pid
|
||||
pid=$(ps -ef | sed 1d | fzf -m | awk '{print $2}')
|
||||
|
||||
if [ "x$pid" != "x" ]
|
||||
|
||||
Reference in New Issue
Block a user