Path autocomplete

Enabled path autocomplete when asked for handshake location
This commit is contained in:
Tomas Vanagas 2017-07-18 20:04:57 +00:00 committed by GitHub
parent 8f17a4a417
commit d69f89c6ce
1 changed files with 1 additions and 2 deletions

View File

@ -948,10 +948,9 @@ function handshakelocation {
echo -e "handshake location (Example: $red$WORK_DIR.cap$transparent)"
echo -e "Press ${yellow}ENTER$transparent to skip"
echo
echo -ne "Path: "
if [ "$FLUX_AUTO" = "0" ];then
read handshakeloc
read -e -p "Path: " handshakeloc
fi
fi