Adds some more options to the change command function
This commit is contained in:
parent
16b919dc3e
commit
dbdec93713
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ bindkey '\em' make_current_word_directory
|
||||||
swap_command(){
|
swap_command(){
|
||||||
# Each group should be seperated by a colon with each item in a group
|
# Each group should be seperated by a colon with each item in a group
|
||||||
# seperated by a space
|
# 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 tokens=(${(z)LBUFFER})
|
||||||
local cmd="${tokens[1]}"
|
local cmd="${tokens[1]}"
|
||||||
local newindex=0
|
local newindex=0
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue