From 7c2ab8ab59d7b502aba747850ee4f4bcee4fd2fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Eric=20Janouch?= Date: Fri, 5 Nov 2021 21:54:56 +0100 Subject: zsh integration: add helpers to command history --- sdn-install | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sdn-install b/sdn-install index 93821bf..66cc063 100755 --- a/sdn-install +++ b/sdn-install @@ -16,6 +16,9 @@ sdn-navigate () { # helpers after the terminal has been resized while running sdn command true + # Add to history, see https://www.zsh.org/mla/workers/2020/msg00633.html + fc -R =(print -- "$helper") + /bin/sh -c "$helper"