-
-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: make
query_command
shell-agnostic (#19)
* fix #18 by making `query_command` shell-agnostic `query_command` is now of type `table` so that `vim.fn.jobstart` does not use `shell`. * style: stylua formatting * fix: linux `query_command` * Removes shell syntax when dropping priv * removes unnecessary quoting from dbus-send command * fix: handle `$SUDO_USER` being `nil` this should help with escalation methods that aren't sudo, we don't have to add support for them right now, but at least alert the user that an error occurred. * style: spaces -> tabs * style: didn't quite get all of them --------- Co-authored-by: winston <[email protected]>
- Loading branch information
1 parent
2190e4c
commit d365bec
Showing
2 changed files
with
38 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters