To add an account to the list of sudoers, you'll need an administrator account.
If you simply want to make sure that your current user has sudo access AND this command works, then you already have sudo access and you're done.
sudo echo hello world
| { | |
| "Thin Strokes" : 4, | |
| "Working Directory" : "\/Users\/steveross", | |
| "Prompt Before Closing 2" : false, | |
| "Selected Text Color" : { | |
| "Green Component" : 0.24950546026229858, | |
| "Red Component" : 0.24626246094703674, | |
| "Blue Component" : 0.25668647885322571 | |
| }, | |
| "Rows" : 25, |
| [aws] | |
| disabled = true | |
| [package] | |
| display_private = true | |
| [env_var] | |
| variable = "NPM_PACKAGE_NAME" | |
| symbol = "🎁" |
To add an account to the list of sudoers, you'll need an administrator account.
If you simply want to make sure that your current user has sudo access AND this command works, then you already have sudo access and you're done.
sudo echo hello world
| var toPatch = [ | |
| { sel: '[name="billingSameAsShipping"]' , click: true }, | |
| { sel: '[name="redeemableCode"]' , prop: 'placeholder', val: 'Enter Promo Code' }, | |
| { sel: '.ReactModalPortal [name="redeemableCode"]' , prop: 'placeholder', val: 'Enter Promo Code' }, | |
| ]; | |
| var matchedSubscriptionItems = []; | |
| function patchIt(patches) { | |
| var afterElementExists = function(selector, cb) { | |
| function findit() { |
| # place in ~/.config/starship-iterm.toml | |
| # Don't print a new line at the start of the prompt | |
| add_newline = false | |
| [directory] | |
| style = "" | |
| disabled = true | |
| [character] | |
| disabled = true |
| install_nvm(){ | |
| log_status "Installing NVM" | |
| curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.6/install.sh | bash | |
| nvm install | |
| } | |
| npm_install(){ | |
| local HAS_NODE_MODULES_BIN=$(find node_modules/.bin) | |
| if [ -z "$HAS_NODE_MODULES_BIN" ]; then |
| function hideFiles | |
| defaults write com.apple.finder AppleShowAllFiles NO | |
| killall Finder /System/Library/CoreServices/Finder.app $argv | |
| end |
| function showFiles | |
| defaults write com.apple.finder AppleShowAllFiles YES | |
| killall Finder /System/Library/CoreServices/Finder.app $argv | |
| end |
| function _git_branch_issue_number | |
| echo (git symbolic-ref HEAD ^/dev/null | sed -e 's/.*#//') | |
| end | |
| function hub-browse-issue | |
| set -l issue_number (_git_branch_issue_number) | |
| hub browse -- issues/$issue_number | |
| end |
| # Installation: | |
| # This assumes that "n98-magerun.phar" is in your path! | |
| # Copy to ~/.config/fish/completions/n98-magerun.phar.fish | |
| # open new or restart existing shell session | |
| for cmd in (n98-magerun.phar --raw --no-ansi list | sed "s/[[:space:]].*//g"); | |
| complete -f -c n98-magerun.phar -a $cmd; | |
| end |