You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Instantly share code, notes, and snippets.
Dave May
echo-dave
Full Stack JavaScript engineer |
Georgia Tech Full Stack Flex Web Dev | JS, TS, Node, React, SvelteKit, Tailwind
open up Terminal and run chsh -s /bin/zsh
If interested you could go ahead and make a few basic visual changes in Profiles tab.
Oh-my-zsh
official repo has pretty good documentaion. The punch line is find somewhere to clone it then tell your ~/.zshrc about it. /usr/local is probably a better spot in hindsight than /etc where I put put it.
Getting a default
cd into your newly cloned oh-my-zsh into templates and you can do a cp zshrc.zsh-template ~/; mv ~/zshrc.zsh-template ~/.zshrc
I'm still not sure what but on both my systems my keys just don't get loaded back into the ssh-agent on restarts and new login sessions. I got annoyed enough at it that I jumped through the hoops of putting ssh-add into a script and writting a property list file to load as a launchagent to fix it.
Add SSH Keys
If you haven't done so already you can use the well written gub hub instructions for generating ssh keys. Once you get them generated you'll add them with ssh-add -K <sshkey> where sshkey is the file path/name. Keys are stored by default in your ~/.ssh folder
Update
Note that you may need to use ssh-add --apple-use-keychain in Big Sur onward instead of ssh-add -K. I discovered the issue in Montery after skipping Big Sur.
Manual reloading SSH keys
The manual method (assuming your keys were stored into the Mac OS Keychain) is to open up Terminal