Skip to content

Instantly share code, notes, and snippets.

@smcabrera
Created February 15, 2019 15:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save smcabrera/66fe467500b50ab77b23fe6a1c90e69f to your computer and use it in GitHub Desktop.
Save smcabrera/66fe467500b50ab77b23fe6a1c90e69f to your computer and use it in GitHub Desktop.
# Dev show and tell
#work/canvas
Shell stuff! 🐢 🐚
- iterm2 > terminal.app
- Check out the preferences. There’s a _ton_ of stuff in there
Preferences -> profiles -> advanced -> trigger
[image:1B2E46BF-D85F-4931-871A-0C69EB12C7A4-265-00007CFAD6A14F1C/B8709435-DEDC-4E16-B6A9-70FE066504D0.png]
Preferences -> keys -> modifier
[image:05F9AA1F-40B6-47AF-B2D3-5F10F6579FD1-265-00007D28756652A7/78D2B529-8D4E-4466-8F7F-CC5CEED5EB2A.png]
[image:CF18F80D-475A-43D9-92AA-3FBA483AF9DA-265-00007D310A288A0A/134F1495-8F1D-4839-A3F9-9FE979BACB19.png]
- rcm and rc files. e.g. `.pryrc`
- fish | zsh > bash
- fd > find
- rg | ag > grep
- nvim > vim
- `pick`!
- Example, list all your branches and let you pick from them:
```bash
alias gbp='git checkout $(git branch --list | pick | cut -d \w -f 1)'
```
[image:EC110FF1-FA99-4BC2-B6C9-4B3361CFE258-265-00007DBEACB0F46E/demo-pick.gif]
- | !!!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment