def add(alias_name, user, host, options)
      begin
        PRINTER.verbose_print "Adding\n"
        config_append = form(alias_name, user, host, options)
        PRINTER.verbose_print config_append
        unless options.test
          file = File.open(FILE_PATH, 'a+')
          file.write(config_append)
          file.close

          # causes a bug in fedore if permission was not updated to 0600
          File.chmod(0600, FILE_PATH)
          # system "chmod 600 #{FILE_PATH}"
        end
      rescue
        return permission_error
      end
      PRINTER.verbose_print "to #{FILE_PATH}"
      PRINTER.print "Successfully added `#{alias_name}` as an alias for `#{user}@#{host}`"
      PRINTER.print "Try sshez connect #{alias_name}"

      finish_exec
    end
def add(alias_name, user, host, options)
      begin
        PRINTER.verbose_print "Adding\n"
        config_append = form(alias_name, user, host, options)
        PRINTER.verbose_print config_append
        unless options.test
          file = File.open(FILE_PATH, 'a+')
          file.write(config_append)
          file.close

          # causes a bug in fedore if permission was not updated to 0600
          File.chmod(0600, FILE_PATH)
          # system "chmod 600 #{FILE_PATH}"
        end
      rescue
        return permission_error
      end
      PRINTER.verbose_print "to #{FILE_PATH}"
      PRINTER.print "Successfully added `#{alias_name}` as an alias for `#{user}@#{host}`"
      PRINTER.print "Try sshez connect #{alias_name}"

      finish_exec
    end
append an alias for the given user@host with the options passed