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
function _git_branch_issue_number | |
echo (git symbolic-ref HEAD ^/dev/null | sed -e 's/.*#//') | |
end | |
function git-issue | |
set -l issue_number (_git_branch_issue_number) | |
git browse -- issues/$issue_number | |
end |
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
# Installation: | |
# This assumes that "n98-magerun.phar" is in your path! | |
# Copy to ~/.config/fish/completions/n98-magerun.phar.fish | |
# open new or restart existing shell session | |
for cmd in (n98-magerun.phar --raw --no-ansi list | sed "s/[[:space:]].*//g"); | |
complete -f -c n98-magerun.phar -a $cmd; | |
end |
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
# Aliases | |
alias m "meteor" | |
alias a "atom" | |
alias a. "atom ." | |
alias gst "git status" | |
alias gco "git checkout" | |
alias j "jump" | |
alias ef "atom ~/.config/fish/config.fish" | |
alias reload "source ~/.config/fish/config.fish" | |
alias ksd "sudo launchctl kickstart system/homebrew.mxcl.dnsmasq" |
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
=> Started your app. | |
=> App running at: http://localhost:3000 | |
| (#3) Profiling: ProjectContext prepareProjectForBuild | |
| | |
| ProjectContext prepareProjectForBuild...........................527 ms (1) | |
| ├─ _initializeCatalog............................................46 ms (1) | |
| │ ├─ files.readFile 6 ms (16) | |
| │ ├─ files.exists 4 ms (9) | |
| │ ├─ runJavaScript package.js 3 ms (9) |
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
# Installation: | |
# This assumes that "n98-magerun.phar" is in your path! | |
# Copy to ~/.config/fish/completions/n98-magerun.phar.fish | |
# open new or restart existing shell session | |
for cmd in (n98-magerun.phar --raw --no-ansi list | sed "s/[[:space:]].*//g"); | |
complete -f -c n98-magerun.phar -a $cmd; | |
end |
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
Show hidden characters
{ | |
"env": { | |
"browser": true, | |
"meteor": true, | |
"node": true, | |
"es6": true | |
}, | |
"extends": "eslint:recommended", | |
"parserOptions": { | |
"sourceType": "module", |
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
function hideFiles | |
defaults write com.apple.finder AppleShowAllFiles NO | |
killall Finder /System/Library/CoreServices/Finder.app $argv | |
end |
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
function showFiles | |
defaults write com.apple.finder AppleShowAllFiles YES | |
killall Finder /System/Library/CoreServices/Finder.app $argv | |
end |
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
{ | |
"Meteor onCreated Method": { | |
"prefix": "mon", | |
"body": [ | |
"Template.${1:name}.onCreated(function ${1:name}OnCreated() {", | |
"\tconst instance = this;", | |
"\t$0", | |
"\tinstance.autorun(() => {", | |
"\t});", |
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
function _git_branch_issue_number | |
echo (git symbolic-ref HEAD ^/dev/null | sed -e 's/.*#//') | |
end | |
function hub-browse-issue | |
set -l issue_number (_git_branch_issue_number) | |
hub browse -- issues/$issue_number | |
end |