Skip to content

Commit

Permalink
Add 'd' alias (short for 'dev') that runs 'maketasks; code -n .'.
Browse files Browse the repository at this point in the history
'maketasks' will create a task runner config if not already present.
'code -n .' opens the current directory in a new vscode window
(except if one is already open on this computer, including in a
different session, see microsoft/vscode#48).
  • Loading branch information
mikelward committed Apr 17, 2017
1 parent 7b04121 commit f02affe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions shrc
Original file line number Diff line number Diff line change
Expand Up @@ -730,6 +730,7 @@ if is_interactive; then
alias cg='rg '"$code_includes"
alias ct='ctags -R'
alias cx='chmod +x'
alias d='maketasks; code -n .'
alias diga='dig +noall +answer +search'
alias digs='dig +short +search'
download() { cd "$HOME/Downloads"; wget "$@"; }
Expand Down

0 comments on commit f02affe

Please sign in to comment.