Skip to content

Commit

Permalink
Merge pull request henrikruscon#84 into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
j-f1 committed Sep 3, 2018
2 parents 1ec1537 + 2a85c75 commit 55ea75f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ const setCwd = (pid, action) => {
}
} else {
exec(
`lsof -p ${pid} | awk '$4=="cwd"' | tr -s ' ' | cut -d ' ' -f9-`,
`lsof -a -F -p ${pid} -d cwd | grep ^n | cut -c2-`,
(err, stdout) => {
cwd = stdout.trim();
setGit(cwd);
Expand Down

0 comments on commit 55ea75f

Please sign in to comment.