Skip to content

Instantly share code, notes, and snippets.

@mayocream
Last active April 5, 2025 08:38
Show Gist options
  • Save mayocream/95e9706dd88579421ee23340c787c941 to your computer and use it in GitHub Desktop.
Save mayocream/95e9706dd88579421ee23340c787c941 to your computer and use it in GitHub Desktop.
if status is-interactive
# Commands to run in interactive sessions can go here
/opt/homebrew/bin/brew shellenv | source
starship init fish | source
fnm env --use-on-cd | source
kubectl completion fish | source
abbr -a k kubectl
end
@mayocream
Copy link
Author

mayocream commented Apr 8, 2024

GitHub sign commits
https://stackoverflow.com/questions/72844616/how-do-i-sign-git-commits-using-my-existing-ssh-key/72852713#72852713

git config --global gpg.format ssh
git config --global user.signingkey ~/.ssh/id_ed25519.pub
git config --global commit.gpgsign true
gh ssh-key add ~/.ssh/id_ed25519.pub --type signing

@mayocream
Copy link
Author

https://code.visualstudio.com/docs/remote/troubleshooting#_ssh-tips
https://code.visualstudio.com/docs/remote/troubleshooting#_enabling-alternate-ssh-authentication-methods

To enable ControlMaster:

Add an entry like this to your SSH config file:

Host *
    ControlMaster auto
    ControlPath  ~/.ssh/sockets/%r@%h-%p
    ControlPersist  600

Then run mkdir -p ~/.ssh/sockets to create the sockets folder.

@mayocream
Copy link
Author

@mayocream
Copy link
Author

mayocream commented Jun 5, 2024

brew install font-jetbrains-mono
brew install font-fira-code-nerd-font
brew install font-cascadia-code
brew install font-cascadia-code-pl
brew install font-cascadia-mono
brew install font-cascadia-mono-pl
brew install font-noto-sans-cjk
brew install font-noto-sans

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment