From c298b6fc97d000f7a823b21e04464e7cdd8d3a18 Mon Sep 17 00:00:00 2001 From: Přemysl Eric Janouch
Date: Fri, 5 Nov 2021 22:11:30 +0100 Subject: bash integration: add helpers to command history --- sdn-install | 1 + 1 file changed, 1 insertion(+) (limited to 'sdn-install') diff --git a/sdn-install b/sdn-install index 66cc063..0e28390 100755 --- a/sdn-install +++ b/sdn-install @@ -54,6 +54,7 @@ sdn-navigate () { ((SDN_P=SDN_P+${#insert}+1)) } [[ -z $helper ]] && break + history -s -- "$helper" /bin/sh -c "$helper" || break done } -- cgit v1.2.3-70-g09d2