European-XFEL / h5glance

Explore HDF5 files in terminal & HTML views
BSD 3-Clause "New" or "Revised" License
68 stars 8 forks source link

zsh tab completion fails when file path starts with ~ #19

Open takluyver opened 4 years ago

takluyver commented 4 years ago

I just discovered this:

h5glance ~/selected_frames2.h5 ind<TAB>

Results in:

h5glance ~/selected_frames2.h5 ind~/selected_frames2.h5/: unable to open file

Probably we just need something to expand the ~.

takluyver commented 4 years ago

it seems this affects bash too. Bash doesn't give any error message.