def add_usr_local_bin_to_path(log=False):
if log:<EOL><INDENT>bookshelf2.logging_helpers.log_green('<STR_LIT>')<EOL><DEDENT>with settings(hide('<STR_LIT>', '<STR_LIT>', '<STR_LIT>', '<STR_LIT>'),<EOL>capture=True):<EOL><INDENT>try:<EOL><INDENT>sudo('<STR_LIT>'<EOL>'<STR_LIT>')<EOL>return True<EOL><DEDENT>except:<EOL><INDENT>raise SystemExit(<NUM_LIT:1>)<EOL><DEDENT><DEDENT>
adds /usr/local/bin to $PATH