Skip to content

Instantly share code, notes, and snippets.

@hugocore
Last active December 19, 2023 18:23
Show Gist options
  • Save hugocore/caa1094869719cba155fb4a7db826038 to your computer and use it in GitHub Desktop.
Save hugocore/caa1094869719cba155fb4a7db826038 to your computer and use it in GitHub Desktop.
Setup 2023
Download iTerm
# Download Powerline Tools
https://github.com/powerline/fonts/archive/master.zip
Install Hack
# Setup iTerm
iTerm > Preferences > Appearance > Theme > Minimal
iTerm > Preferences > Profiles:
> Working Directory > Reuse previous sessions directory
> Keys > + :
> Shortcut: option + right
> Action: send escape sequence
> Esc+: f
> Keys > + :
> Shortcut: option + left
> Action: send escape sequence
> Esc+: b
> Keys > Click Load Preset > Natural Text Editing > Keep
> Text > Font > Hack > 14
> Terminal > Unlimited Scrollback
> Session > Status Bar Enabled
> Session > Status Bar Enabled > Configure
iTerm > Appearance > Status Bar Location:
> Bottom
# Install Brew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# Install ZSH
brew install zsh
# Install Oh-My-Zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
# Install zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
# Setup ZSH
subl ~/.zshrc
brew install zsh-syntax-highlighting
brew install pure
Copy settings from https://gist.github.com/hugocore/a8c35d573849d760bc8cde3d89058845
Set the colour pallet: https://github.com/sindresorhus/iterm2-snazzy
Restart iTerm
# Setup Github
ssh-keygen -t ed25519 -C "XXXXXXXXX@gmail.com"
eval "$(ssh-agent -s)"
open ~/.ssh/config
touch ~/.ssh/config
nano ~/.ssh/config
Host *
AddKeysToAgent yes
UseKeychain yes
IdentityFile ~/.ssh/id_ed25519
ssh-add -K ~/.ssh/id_ed25519
pbcopy < ~/.ssh/id_ed25519.pub
# Install Sublime CLI
Download Sublime Text 4
echo 'export PATH="/Applications/Sublime Text.app/Contents/SharedSupport/bin:$PATH"' >> ~/.zprofile
Tools > Install Package Control
Install: A File Icon, GitGutter, Git Blame, SidebarEnhancements, ayu
Run: Activate ayu theme
Setup settings from: https://gist.github.com/hugocore/932f58640bd4f4fc0dc2
#
# EXTRAS
#
# Install asdf
brew install coreutils curl git
brew install asdf
asdf plugin add ruby
asdf install ruby latest
# Install postgresql
brew install postgresql
brew services start postgresql
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment