Adds some more options to the change command function

master
Jonathan Hodgson 11 months ago
parent d78eb40a89
commit 158b0befb3
  1. 2
      shells/zsh/includes/keybindings.zsh

@ -121,7 +121,7 @@ bindkey '\em' make_current_word_directory
swap_command(){
# Each group should be seperated by a colon with each item in a group
# seperated by a space
local groups="cd vim ls:ping mtr"
local groups="cd vim ls:ping mtr:mysql mycli postgres pgcli:du:ncdu"
local tokens=(${(z)LBUFFER})
local cmd="${tokens[1]}"
local newindex=0

Loading…
Cancel
Save