- Flux: Eye saver
- Karabiner: Because I want to remap my keyboard to take advantage of my Windows muscle memory
- BetterTouchTool: Make extra logitech mouse buttons do something useful
- Scroll Reverser: Because I want my trackpad and mouse wheel to behave differently
- Moom: Window manager
- Copy 'Em Paste: Clipboard manager
- my bash prompt setup with git support
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git config --global alias.slog 'log --pretty=oneline --abbrev-commit' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Automatically call `nvm use`/`nvm install` after `cd` or `git checkout` to use | |
# the version of Node.js defined in .nvmrc (or the default Node.js version if | |
# there is no .nvmrc and you are in a directory with a package.json file). | |
# This first `nvm_after_cd` function is based on the function recommended in the | |
# official documentation at | |
# https://github.com/nvm-sh/nvm/tree/2c0c34f10e6f415d1c6f60c54fcbf53a7670dec6#bash, | |
# but avoids calling `nvm` when there is no package.json present so that `cd` is | |
# not so slow all the time. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Thanks https://stevenharman.net/git-clean-delete-already-merged-branches | |
function git-delete-merged-branches { | |
git branch --merged master | grep -v "\* master" | xargs -n 1 git branch -d | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# --- npm module aliases --- | |
alias gulp='./node_modules/gulp/bin/gulp.js' | |
alias mocha='./node_modules/mocha/bin/mocha' | |
alias bunyan='./node_modules/bunyan/bin/bunyan' | |
alias istanbul='./node_modules/istanbul/lib/cli.js' | |
alias eslint='./node_modules/eslint/bin/eslint.js' | |
alias tslint='./node_modules/tslint/bin/tslint' | |
alias tsc='./node_modules/typescript/bin/tsc' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<root> | |
<appdef> | |
<appname>WEBSTORM</appname> | |
<equal>com.jetbrains.WebStorm</equal> | |
</appdef> | |
<appdef> | |
<appname>ONENOTE</appname> | |
<equal>com.microsoft.onenote.mac</equal> | |
</appdef> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Place your key bindings in this file to overwrite the defaults | |
[ | |
{ "key": "cmd+d", | |
"command": "editor.action.copyLinesDownAction", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "cmd+alt+shift+r", | |
"command": "editor.action.rename", | |
"when": "editorHasRenameProvider && editorTextFocus && !editorReadonly" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export BASH_SILENCE_DEPRECATION_WARNING=1 | |
eval "$(/opt/homebrew/bin/brew shellenv)" | |
# --- git command prompt --- | |
# Pre-requisites: | |
# brew install bash-completion | |
if [ -f $(brew --prefix)/etc/bash_completion ]; then | |
. $(brew --prefix)/etc/bash_completion | |
fi |