def modify_autojump_sh(etc_dir, share_dir, dryrun=False):
 custom_install = ('        \n# check custom install         \nif [ -s %s/autojump.${shell} ]; then         \n    source %s/autojump.${shell}         \nfi\n' % (share_dir, share_dir))
 with open(os.path.join(etc_dir, 'autojump.sh'), 'a') as f:
  f.write(custom_install)

def modify_autojump_sh ( etc_dir , share_dir , dryrun = False ) : custom_install = ( '        \n# check custom install         \nif [ -s %s/autojump.${shell} ]; then         \n    source %s/autojump.${shell}         \nfi\n' % ( share_dir , share_dir ) ) with open ( os . path . join ( etc_dir , 'autojump.sh' ) , 'a' ) as f : f . write ( custom_install )
append custom installation path to autojump .