Skip to content

Commit

Permalink
change_output: set it as default
Browse files Browse the repository at this point in the history
  • Loading branch information
cxfcxf committed Feb 6, 2024
1 parent 3819fd6 commit 60d03d7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 1 addition & 3 deletions cmd/exec.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,7 @@ func execute(cmd *cobra.Command, args []string) (err error) {
if config.Flag.Debug {
fmt.Printf("Command: %s\n", command)
}
if config.Flag.Command || config.Conf.General.ShowCommand {
fmt.Printf("%s: %s\n", color.YellowString("Command"), command)
}
fmt.Printf("> %s\n", command)

return run(command, os.Stdin, os.Stdout)
}
Expand Down
1 change: 0 additions & 1 deletion config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ type GeneralConfig struct {
SelectCmd string `toml:"selectcmd"`
Backend string `toml:"backend"`
SortBy string `toml:"sortby"`
ShowCommand bool `toml:"show_command"`
}

// GistConfig is a struct of config for Gist
Expand Down

0 comments on commit 60d03d7

Please sign in to comment.