Moje najnowsze dzieło zsh, vi mode
wpisujesz komendę, albo masz komendę z historii z argumentami, wciśnij Ctrl-t i dostajesz mana komendy
# shortcut for adding man to the command
# I <- go to begin of line, write man
# ^[ <-escape (normal mode)
# El <-end of Word und 1 right
# d$ delete to end of line
bindkey -M vicmd -s '^t' 'Iman ^[Ela ^[d$'
bindkey -M viins -s '^t'
wpisujesz komendę, albo masz komendę z historii z argumentami, wciśnij Ctrl-t i dostajesz mana komendy
# shortcut for adding man to the command
# I <- go to begin of line, write man
# ^[ <-escape (normal mode)
# El <-end of Word und 1 right
# d$ delete to end of line
bindkey -M vicmd -s '^t' 'Iman ^[Ela ^[d$'
bindkey -M viins -s '^t'
#ssh #shell #pytaniedoeksperta