fmt.Fprintf(os.Stderr,"\nWARN: This terminal session was started with different resh version than is installed now - it looks like you updated resh and didn't restart this terminal.\n\n")
fmt.Fprintf(os.Stderr,"-> Restart this terminal window to fix that.\n")
return
}
ifversion!=resp.Version{
fmt.Fprintf(os.Stderr,"\nWARN: Resh-daemon is running in different version than is installed now - it looks like something went wrong during resh update.\n\n")
fmt.Fprintf(os.Stderr,"-> Kill resh-daemon and then launch a new terminal window to fix that.\n")
fmt.Fprintf(os.Stderr," $ pkill resh-daemon\n")
fmt.Fprintf(os.Stderr,"-> You can file an issue at: https://github.com/curusarn/resh/issues\n")
return
}
ifversion!=versionEnv{
fmt.Fprintf(os.Stderr,"\nWARN: This terminal session was started with different resh version than is installed now - it looks like you updated resh and didn't restart this terminal.\n\n")
fmt.Fprintf(os.Stderr,"-> Restart this terminal window to fix that.\n")
return
}
@ -50,10 +52,6 @@ var versionCmd = &cobra.Command{