m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-18 08:13:40 -05:00

Make pid variable local

benutzer193
2017-02-09 12:39:08 +01:00
parent d99ef6b638
commit 01772d3187

@@ -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" ]