charlesdaniels / bitshuffle

BSD 3-Clause "New" or "Revised" License
5 stars 0 forks source link

Check for ~/.selected_editor #32

Closed jyn514 closed 6 years ago

jyn514 commented 6 years ago

Many debian installations have a program called 'select-editor' which runs the first time an editor is needed in the terminal. It saves the selected editor to ~/.selected_editor in the following format:

# Generated by /usr/bin/select-editor
SELECTED_EDITOR=

TODO: Check for this after $VISUAL and $EDITOR

jyn514 commented 6 years ago

Fails on Windows builds, since HOME isn't in environment.

jyn514 commented 6 years ago

Fixed in https://github.com/charlesdaniels/bitshuffle/commit/dedb9e309609b9210ff944e100d7b6bc80b5f226