set default fallback for LoadSession

dev
Joe 3 years ago
parent 908411c539
commit 198d6e45e4
Signed by: joe
GPG Key ID: 8595A3F8F2CE1B74
  1. 1
      ysm.sh

@ -55,6 +55,7 @@ LoadSession() {
echo "$(basename "${sessions[$i]}" .${config[extension]})"
done
read -rp "" selection
if [ -z "$selection" ]; then selection=0;fi
python2.7 ysess -i "${sessions[$selection]}"
}

Loading…
Cancel
Save