mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-06-24 20:15:21 -04:00
qs: replace all which commands with command -v
This commit is contained in:
@@ -47,7 +47,7 @@ Singleton {
|
||||
|
||||
Process {
|
||||
id: tmuxCheckProcess
|
||||
command: ["which", "tmux"]
|
||||
command: ["sh", "-c", "command -v tmux"]
|
||||
running: false
|
||||
onExited: code => {
|
||||
root.tmuxAvailable = (code === 0);
|
||||
@@ -56,7 +56,7 @@ Singleton {
|
||||
|
||||
Process {
|
||||
id: zellijCheckProcess
|
||||
command: ["which", "zellij"]
|
||||
command: ["sh", "-c", "command -v zellij"]
|
||||
running: false
|
||||
onExited: code => {
|
||||
root.zellijAvailable = (code === 0);
|
||||
|
||||
Reference in New Issue
Block a user