Skip to content

Commit

Permalink
Merge branch 'fix_frozen_editor_env' of github.com:rcaught/dotgpg
Browse files Browse the repository at this point in the history
  • Loading branch information
ConradIrwin committed Jul 31, 2014
2 parents e45bb25 + 32041f8 commit 6bee701
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/dotgpg.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ class InvalidSignature < RuntimeError; end
# https://github.com/pry/pry/blob/master/LICENSE
def self.editor
configured = ENV["VISUAL"] || ENV["EDITOR"] || guess_editor
configured = configured.dup
case configured
when /^mate/, /^subl/
configured << " -w"
Expand Down

0 comments on commit 6bee701

Please sign in to comment.