mirror of https://github.com/curusarn/resh
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
601 B
24 lines
601 B
package cmd
|
|
|
|
import (
|
|
"github.com/curusarn/resh/cmd/control/status"
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
var disableCmd = &cobra.Command{
|
|
Use: "disable",
|
|
Short: "disable RESH features",
|
|
Long: `Disables RESH bindings for arrows and C-R.`,
|
|
Run: func(cmd *cobra.Command, args []string) {
|
|
exitCode = status.DisableAll
|
|
},
|
|
}
|
|
|
|
// var disableRecallingCmd = &cobra.Command{
|
|
// Use: "keybind",
|
|
// Short: "Disables RESH bindings for arrows and C-R.",
|
|
// Long: `Disables RESH bindings for arrows and C-R.`,
|
|
// Run: func(cmd *cobra.Command, args []string) {
|
|
// exitCode = status.DisableAll
|
|
// },
|
|
// }
|
|
|