bash integration: add helpers to command history

This commit is contained in:
Přemysl Eric Janouch 2021-11-05 22:11:30 +01:00
parent 7c2ab8ab59
commit c298b6fc97
Signed by: p
GPG Key ID: A0420B94F92B9493
1 changed files with 1 additions and 0 deletions

View File

@ -54,6 +54,7 @@ sdn-navigate () {
((SDN_P=SDN_P+${#insert}+1))
}
[[ -z $helper ]] && break
history -s -- "$helper"
/bin/sh -c "$helper" || break
done
}