Compare commits

...

2 commits

Author SHA1 Message Date
Dmitry Voronin 12a1815e28
Yazi : <Enter> to spawn a shell. 2024-10-11 21:56:23 +03:00
Dmitry Voronin 9f04869ac7
Su : Show su shell name for su. 2024-10-11 21:55:44 +03:00
2 changed files with 6 additions and 0 deletions

View file

@ -22,6 +22,11 @@
run = "create --force";
desc = "I want, sometimes.";
}
{
on = "<Enter>";
run = ''shell "SHELL_NAME=yazi $SHELL" --block --confirm'';
desc = "Spawn shell here.";
}
];
};
};

View file

@ -6,6 +6,7 @@
function s() {
su - ''${1}
}
alias su="SHELL_NAME=su su"
# Run something as root. Runs command as a current user if su is not available.
# Usage: sudo <COMMAND>