load selected session

dev
Joe 3 years ago
parent 5f494afb15
commit a6da5ccd6d
Signed by: joe
GPG Key ID: 8595A3F8F2CE1B74
  1. 4
      ysm.sh

@ -52,8 +52,10 @@ CallTask() {
LoadSession() {
for ((i=0;i<"${#sessions[*]}";i++)); do
echo -n "[$i] "
echo "$(basename "${sessions[$i]}" .ysess)"
echo "$(basename "${sessions[$i]}" .${config[extension]})"
done
read -rp "" selection
python2.7 ysess -i "${sessions[$selection]}"
}
Debug() {

Loading…
Cancel
Save