fix completions

This commit is contained in:
Daylin Morgan 2024-05-31 15:10:28 -05:00
parent 05b641bc97
commit f698f2614e
Signed by: daylin
GPG key ID: 950D13E9719334AD
2 changed files with 3 additions and 3 deletions

View file

@ -7,6 +7,9 @@ import (
var ewwCmd = &cobra.Command{ var ewwCmd = &cobra.Command{
Use: "eww", Use: "eww",
Short: "eww integration", Short: "eww integration",
PersistentPreRun: func(cmd *cobra.Command, args []string) {
hm.LoadConfig(configPath)
},
} }
func init() { func init() {

View file

@ -33,9 +33,6 @@ var (
var rootCmd = &cobra.Command{ var rootCmd = &cobra.Command{
Use: "hyprman", Use: "hyprman",
Short: "hyprland companion app", Short: "hyprland companion app",
PersistentPreRun: func(cmd *cobra.Command, args []string) {
hm.LoadConfig(configPath)
},
} }
func init() { func init() {