Skip to content

Instantly share code, notes, and snippets.

@yosukehasumi
yosukehasumi / .bash_profile
Last active November 24, 2022 03:41
my_bash
#!/usr/bin/env bash
export CLICOLOR=1
export TERM=xterm-256color
export BASH_SILENCE_DEPRECATION_WARNING=1
# PS1
export PS1="________________________________________________________________________________\n| \w \n| => "
export PS2="| => "
# Set default editor
@yosukehasumi
yosukehasumi / setup.md
Last active May 4, 2022 16:54
My OSX setup from clean install
  • Enabled Tap to Click
  • Enable Trackpad Dragging (found in accessibility settings)
  • Add my .bash_profile https://gist.github.com/yosukehasumi/fb5c97f661ee3d4e1b41049707606fb5
  • Add item word jump hotkeys for iTerm (Preferences > Profiles > Keys > Presets: 'Natural Text Editing')
  • Hide Dock (defaults write com.apple.Dock autohide-delay -float 5 && killall Dock)
  • Hide icons on Desktop (defaults write com.apple.finder CreateDesktop false; killall Finder;)
  • Generate SSH keys `ssh-keygen -t rsa -b 4096 -C "your@email.com"

Install

  • Chrome