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
# Description: Boxstarter Script | |
# Revisions By: Joshua Barone | |
# Author: Jess Frazelle <jess@linux.com> | |
# Last Updated: 2018-05-04 | |
# | |
# Install boxstarter: | |
# . { iwr -useb http://boxstarter.org/bootstrapper.ps1 } | iex; get-boxstarter -Force | |
# | |
# You might need to set: Set-ExecutionPolicy RemoteSigned | |
# |
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 ls='ls -G' | |
alias ll='ls -FGlAhp' | |
alias lr='ls -R | grep ":$" | sed -e '\''s/:$//'\'' -e '\''s/[^-][^\/]*\//--/g'\'' -e '\''s/^/ /'\'' -e '\''s/-/|/'\'' | less' | |
# Bash completion | |
if [ -f `brew --prefix`/etc/bash_completion ]; then | |
. `brew --prefix`/etc/bash_completion | |
fi |
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
### Keybase proof | |
I hereby claim: | |
* I am jbarone on github. | |
* I am jbarone (https://keybase.io/jbarone) on keybase. | |
* I have a public key whose fingerprint is 748A 1BD5 194D F8A3 7E87 1936 0A69 04E3 BD89 575D | |
To claim this, I am signing this object: |
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 | |
# This hook is run after every virtualenv is activated. | |
proj_name=$(echo $VIRTUAL_ENV|awk -F'/' '{print $NF}') | |
if [ -d "$PROJECT_HOME/$proj_name" ] ; then | |
cd $PROJECT_HOME/$proj_name | |
fi |
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
[core] | |
autocrlf = false | |
safecrlf = true | |
pager = diff-highlight | less | |
[alias] | |
co = checkout | |
ci = commit | |
st = status -sb | |
br = branch | |
hist = log --pretty=format:\"%h %ad | %s [%an]\" --graph --date=short |
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 | |
function create-project() | |
{ | |
if [ $# -eq 0 ] | |
then | |
echo "You must provide a project name" | |
return | |
fi |