mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-02-21 13:55:49 +00:00
feat(bin): update scripts to function format
This commit is contained in:
@@ -352,10 +352,12 @@ section_docs()
|
||||
|
||||
MENU=(
|
||||
"tmux:Update tmux keybindings documentation"
|
||||
"nvim:Update nvim keybindings documentation"
|
||||
)
|
||||
|
||||
case "$1" in
|
||||
tmux) bash "$DOTFILES/local/bin/x-dfm-docs-xterm-keybindings" ;;
|
||||
nvim) bash "$DOTFILES/scripts/create-nvim-keymaps.sh" ;;
|
||||
*) menu_usage "$USAGE_PREFIX" "${MENU[@]}" ;;
|
||||
esac
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user