castastrophe / bash-helper-scripts

Helper functions written in Bash to help with daily tasks that are repetitive and eat up time.
GNU General Public License v2.0
2 stars 1 forks source link

readme.md out of date #2

Open starryeyez024 opened 7 years ago

starryeyez024 commented 7 years ago

the readme file has this function (but it doesn't work):

  # Return the url of the sandbox
  function sandbox {
    echo "${2:-root}@<url-of-sandbox>-${1:-$USER}<url-of-sandbox>"
  }

but your personal bash_profile (from pastebin) has this version, which is correct:

# Return the url for a rh.com sandbox
function sandbox {
        echo "${2:-root}@... -${1:-$USER}  ..."
}
starryeyez024 commented 7 years ago

Oh, i think its because is supposed to mean "type something in here that makes sense" lol. Maybe just elaborate on this in the docs:

On line such and such, replace the text in angle brackets to match your sandbox URL, so echo "${2:-root}@<url-of-sandbox>-${1:-$USER}<url-of-sandbox>" becomes echo "${2:-root}@my-sandbox-path-${1:-$USER}.awesomecompany.com"