Skip to content

Commit 4193392

Browse files
committed
added optional keybind "?" to append and run with --help.
i am used to running a cisco switch
1 parent 323a85c commit 4193392

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Configs/.config/zsh/functions/kb_help.zsh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# TODO: I am describing every step as shell syntaxes are worst.
12
# Define a Zsh widget to append '--help' to the current command and execute it, but allow natural use of `?` when the buffer is insignificant
23
function append_help_and_run() {
34
if [[ -n $BUFFER ]]; then

0 commit comments

Comments
 (0)