Rich Enhanced Shell History - Contextual shell history for zsh and bash
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.
 
 
 
resh/cmd/control/cmd/disable.go

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
// },
// }