This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function fish_load_sudo_alias | |
function sudo | |
if functions -q -- "$argv[1]" | |
# Create a string which quotes each of the original arguments | |
# so that they can be safely passed into the new fish | |
# instance that is called by sudo. | |
set cmdline ( | |
for arg in $argv | |
printf "\"%s\" " $arg | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Sid": "DenyAllWhenMFAIsNotPresent", | |
"Effect": "Deny", | |
"NotAction": [ | |
"iam:ListMFADevices", | |
"sts:GetSessionToken" | |
], |