feat(cli): add max history length
This commit is contained in:
parent
8ed3b0c013
commit
7d4a54b34c
2 changed files with 55 additions and 8 deletions
|
|
@ -11,7 +11,8 @@ import (
|
|||
|
||||
var historyCmd = &cobra.Command{
|
||||
Use: "history",
|
||||
Short: "Zeigt die Befehlshistorie an",
|
||||
Short: "show command history",
|
||||
Long: "Shows history of the last 2000 commands",
|
||||
Run: func(cmd *cobra.Command, args []string) {
|
||||
dirname, err := os.UserConfigDir()
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue