Skip to content
This repository has been archived by the owner on Nov 28, 2023. It is now read-only.

Commit

Permalink
Fix editor command to use environment vars to work appropriately on OS X
Browse files Browse the repository at this point in the history
  • Loading branch information
mbrace committed Mar 22, 2013
1 parent 399dd3d commit 9ad1a57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-hf-feature
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ cmd_submit() {
# including a summary of backwards-compatibility breaks, wrapped at
# 80 characters.
EOS
editor "$PR_FILE"
${VISUAL:-${EDITOR:-vi}} "$PR_FILE"

# extract pull request parameters from description
if [ -r "$PR_FILE" ]; then
Expand Down

0 comments on commit 9ad1a57

Please sign in to comment.