Skip to content

Instantly share code, notes, and snippets.

View ngocphamm's full-sized avatar

Ngoc Pham ngocphamm

View GitHub Profile
@ngocphamm
ngocphamm / Homebrew Zsh on Mac
Last active February 14, 2024 18:06
Notes on using Homebrew Zsh as default login shell
1. Install Zsh with Homebrew
brew install zsh
2. Add "/usr/local/bin/zsh" to "/etc/shells" file
sudo vim /etc/shells
3. Change to default login shell
chsh -s /usr/local/bin/zsh $USER
4. Make sure new version of Zsh is in active
@ngocphamm
ngocphamm / gist:3484715
Created August 27, 2012 00:40 — forked from lucasfais/gist:1207002
Sublime Text 2 - Useful Shortcuts

Sublime Text 2 – Useful Shortcuts (Mac OS X)

General

⌘T go to file
⌘⌃P go to project
⌘R go to methods
⌃G go to line
⌘KB toggle side bar
⌘⇧P command prompt
@ngocphamm
ngocphamm / hack.sh
Created March 31, 2012 13:16 — forked from erikh/hack.sh
OSX For Hackers
#!/usr/bin/env sh
##
# This is script with usefull tips taken from:
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
#
# install it:
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh
#