aboutsummaryrefslogtreecommitdiff
path: root/sdn-install
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2021-11-05 22:11:30 +0100
committerPřemysl Eric Janouch <p@janouch.name>2021-11-05 22:11:30 +0100
commitc298b6fc97d000f7a823b21e04464e7cdd8d3a18 (patch)
tree4d1aad96c3564073a6933568a1818dd4308506c2 /sdn-install
parent7c2ab8ab59d7b502aba747850ee4f4bcee4fd2fa (diff)
downloadsdn-c298b6fc97d000f7a823b21e04464e7cdd8d3a18.tar.gz
sdn-c298b6fc97d000f7a823b21e04464e7cdd8d3a18.tar.xz
sdn-c298b6fc97d000f7a823b21e04464e7cdd8d3a18.zip
bash integration: add helpers to command history
Diffstat (limited to 'sdn-install')
-rwxr-xr-xsdn-install1
1 files changed, 1 insertions, 0 deletions
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
}