Skip to content

Commit

Permalink
minor reshctl enable fix
Browse files Browse the repository at this point in the history
  • Loading branch information
curusarn committed Jan 20, 2020
1 parent c150fab commit c51d4d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/control/cmd/enable.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ var enableControlRBindingGlobalCmd = &cobra.Command{
Use: "ctrl_r_binding_global",
Short: "enable bindings for control+R FOR FUTURE SHELL SESSIONS",
Run: func(cmd *cobra.Command, args []string) {
exitCode = enableDisableArrowKeyBindingsGlobally(true)
exitCode = enableDisableControlRBindingGlobally(true)
},
}

Expand All @@ -76,7 +76,7 @@ var disableArrowKeyBindingsGlobalCmd = &cobra.Command{
"Note that this only affects sessions of the same shell.\n" +
"(e.g. running this in zsh will only affect future zsh sessions)",
Run: func(cmd *cobra.Command, args []string) {
exitCode = enableDisableControlRBindingGlobally(false)
exitCode = enableDisableArrowKeyBindingsGlobally(false)
},
}

Expand Down

0 comments on commit c51d4d1

Please sign in to comment.