You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Message on exit in Terminal window

On typing "exit" in a Terminal window, I get the message: "Saving session...shell_session_save:9: shell_session_save_user_state_functions: parameter not set"


This occurred after I attempted to change the Profile in Terminal > Preferences > Profiles


Any ideas how I can get it to go away?

MacBook Pro 14″, macOS 12.6

Posted on Oct 14, 2022 7:19 PM

Reply
Question marked as Top-ranking reply

Posted on Oct 15, 2022 1:24 PM

Great news my friend, I'm so happy I could help! :)


As a general rule of thumb, plists in the user account can be deleted, & they get normally get he normal copy from the one in System or System>Library, sometimes making a new one is built into the App if it doesn't find one.


If worried you can rename it or move it for a test.

11 replies
Question marked as Top-ranking reply

Oct 15, 2022 1:24 PM in response to tmg2010

Great news my friend, I'm so happy I could help! :)


As a general rule of thumb, plists in the user account can be deleted, & they get normally get he normal copy from the one in System or System>Library, sometimes making a new one is built into the App if it doesn't find one.


If worried you can rename it or move it for a test.

Oct 15, 2022 7:18 AM in response to BDAqua

Thanks. I deleted .zsh_sessions/ and the system regenerated the directory, but the error remains.


shell_sessions seem to be managed by /etc/zsh_Apple_Terminal, but I am not enough of a sys admin to interpret it in order to correct the problem.


Hope I won't have to restore my entire Data volume from a snapshot.

Message on exit in Terminal window

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.