# File lib/pry/default_commands/shell.rb, line 97
        def mode
          if opts.present?(:append)
            "a"
          else
            "w"
          end
        end