Compare commits
2 commits
532a23788c
...
12a1815e28
Author | SHA1 | Date | |
---|---|---|---|
Dmitry Voronin | 12a1815e28 | ||
Dmitry Voronin | 9f04869ac7 |
|
@ -22,6 +22,11 @@
|
||||||
run = "create --force";
|
run = "create --force";
|
||||||
desc = "I want, sometimes.";
|
desc = "I want, sometimes.";
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
on = "<Enter>";
|
||||||
|
run = ''shell "SHELL_NAME=yazi $SHELL" --block --confirm'';
|
||||||
|
desc = "Spawn shell here.";
|
||||||
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
function s() {
|
function s() {
|
||||||
su - ''${1}
|
su - ''${1}
|
||||||
}
|
}
|
||||||
|
alias su="SHELL_NAME=su su"
|
||||||
|
|
||||||
# Run something as root. Runs command as a current user if su is not available.
|
# Run something as root. Runs command as a current user if su is not available.
|
||||||
# Usage: sudo <COMMAND>
|
# Usage: sudo <COMMAND>
|
||||||
|
|
Loading…
Reference in a new issue