mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-12-31 13:57:26 -08:00
fix(migrate): do not trigger auto migration
This commit is contained in:
parent
f3e3fe20a5
commit
b4c44ea8d1
|
@ -41,7 +41,8 @@ A backup of the current config can be found at ~/myconfig.omp.json.bak.`,
|
||||||
Run: func(cmd *cobra.Command, args []string) {
|
Run: func(cmd *cobra.Command, args []string) {
|
||||||
env := &environment.ShellEnvironment{
|
env := &environment.ShellEnvironment{
|
||||||
CmdFlags: &environment.Flags{
|
CmdFlags: &environment.Flags{
|
||||||
Config: config,
|
Config: config,
|
||||||
|
Migrate: true,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
env.Init(false)
|
env.Init(false)
|
||||||
|
|
Loading…
Reference in a new issue