Skip to content

Commit 6d80a09

Browse files
committed
⚡ Use io.popen() to replace os.execute()
1 parent 8cd55b9 commit 6d80a09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

prompt-style.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ local function wakatime(cmd)
2020
string.match(lfs.currentdir(), "[^/]+$")
2121
)
2222
end
23-
os.execute(cmd)
23+
io.popen(cmd)
2424
return ""
2525
end
2626

0 commit comments

Comments
 (0)