Initial commit
This commit is contained in:
commit
16a7b26fd5
13 changed files with 106 additions and 0 deletions
5
functions/sudo-execute.fish
Normal file
5
functions/sudo-execute.fish
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
function sudo-execute -d "Command line editor function that prepends the current commandline with \"sudo\" and executes it afterwards"
|
||||
commandline sudo\ (commandline | sed 's/^\W*sudo\?\W*//')
|
||||
commandline -f repaint
|
||||
commandline -f execute
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue