bash integration: add helpers to command history
This commit is contained in:
parent
7c2ab8ab59
commit
c298b6fc97
|
@ -54,6 +54,7 @@ sdn-navigate () {
|
||||||
((SDN_P=SDN_P+${#insert}+1))
|
((SDN_P=SDN_P+${#insert}+1))
|
||||||
}
|
}
|
||||||
[[ -z $helper ]] && break
|
[[ -z $helper ]] && break
|
||||||
|
history -s -- "$helper"
|
||||||
/bin/sh -c "$helper" || break
|
/bin/sh -c "$helper" || break
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue