Last active
August 29, 2015 14:00
-
-
Save Codesleuth/11318588 to your computer and use it in GitHub Desktop.
My dotfiles
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
#! /bin/bash | |
# functions | |
vscode() { | |
# opens Visual Studio Code with the specified parameters | |
VSCODE_CWD=$PWD | |
$USERPROFILE/AppData/Local/Code/Update.exe --processStart Code.exe -a="$*" | |
} | |
# aliases | |
alias code=vscode | |
alias edit='start notepad++.exe $*' | |
alias set-gopath='export GOPATH=$(pwd) && export PATH=$GOPATH/bin:$PATH && echo "GOPATH set to $GOPATH"' |
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
[alias] | |
st = status | |
co = checkout | |
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit | |
[user] | |
name = David Wood | |
email = [email protected] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment