scripts reorganize
This commit is contained in:
6
scripts/fish-functions/sudo.fish
Normal file
6
scripts/fish-functions/sudo.fish
Normal file
@@ -0,0 +1,6 @@
|
||||
if test "$argv" = !!
|
||||
echo sudo $history[1]
|
||||
eval command sudo $history[1]
|
||||
else
|
||||
command sudo $argv
|
||||
end
|
||||
Reference in New Issue
Block a user