Last active
January 19, 2017 01:52
-
-
Save nickautomatic/3aba0e4c24e37972f057 to your computer and use it in GitHub Desktop.
Revisions
-
nickautomatic revised this gist
Jan 19, 2017 . 1 changed file with 3 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -2,6 +2,9 @@ export PATH=/c/Program\ Files/cwRsync/:/c/Users/Nick/AppData/Roaming/npm/:$PATH export VAGRANT_HOME=/c/HashiCorp/Vagrant/.vagrant.d/ ## Custom Bash Prompt: export PS1='\[\033]0;$MSYSTEM:${PWD//[^[:ascii:]]/?}\007\]\n\[\033[32m\]\u@\h \[\033[33m\]\w\[\033[36m\]`__git_ps1`\[\033[0m\]\n$ ' ## For nice diffs: # install diff-so-fancy (npm -g diff-so-fancy) # set pager to use it (git config --global core.pager "diff-so-fancy | less --tabs=4 -RFX") -
nickautomatic revised this gist
Oct 12, 2016 . 1 changed file with 3 additions and 7 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -2,13 +2,9 @@ export PATH=/c/Program\ Files/cwRsync/:/c/Users/Nick/AppData/Roaming/npm/:$PATH export VAGRANT_HOME=/c/HashiCorp/Vagrant/.vagrant.d/ ## For nice diffs: # install diff-so-fancy (npm -g diff-so-fancy) # set pager to use it (git config --global core.pager "diff-so-fancy | less --tabs=4 -RFX") ## FuelPHP: alias oil='php oil' -
nickautomatic revised this gist
Jul 12, 2016 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -27,6 +27,7 @@ alias gr='git remote' alias grb='git rebase' alias grs='git reset' alias gs='git status' alias kraken='~/AppData/Local/gitkraken/Update.exe --processStart gitkraken.exe' ## Vagrant alias v='vagrant' -
nickautomatic revised this gist
Feb 23, 2016 . 1 changed file with 8 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -2,6 +2,14 @@ export PATH=/c/Program\ Files/cwRsync/:/c/Users/Nick/AppData/Roaming/npm/:$PATH export VAGRANT_HOME=/c/HashiCorp/Vagrant/.vagrant.d/ ## Functions: function strip_diff_leading_symbols(){ color_code_regex="(\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K])" # actually strips the leading symbols sed -r "s/^($color_code_regex)[\+\-]/\1 /g" } ## FuelPHP: alias oil='php oil' -
nickautomatic revised this gist
Feb 23, 2016 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -22,6 +22,7 @@ alias gs='git status' ## Vagrant alias v='vagrant' alias homestead='function __homestead() { (cd /c/www/homestead && vagrant $*); unset -f __homestead; }; __homestead' ## Other commands: alias explore='explorer' -
nickautomatic revised this gist
Nov 6, 2015 . 1 changed file with 4 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -27,4 +27,7 @@ alias v='vagrant' alias explore='explorer' alias ll='ls -alFh --color' alias subl='subl -a' # adding -a flag to sublime prevents double window-opening alias x='exit' echo echo 'Loaded custom .bashrc' -
nickautomatic revised this gist
Oct 26, 2015 . 1 changed file with 12 additions and 6 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,10 +1,11 @@ ## Global variables: export PATH=/c/Program\ Files/cwRsync/:/c/Users/Nick/AppData/Roaming/npm/:$PATH export VAGRANT_HOME=/c/HashiCorp/Vagrant/.vagrant.d/ ## FuelPHP: alias oil='php oil' ## Git: alias ga='git add' alias gb='git branch' alias gco='git checkout' @@ -19,6 +20,11 @@ alias grb='git rebase' alias grs='git reset' alias gs='git status' ## Vagrant alias v='vagrant' ## Other commands: alias explore='explorer' alias ll='ls -alFh --color' alias subl='subl -a' # adding -a flag to sublime prevents double window-opening alias x='exit' -
nickautomatic revised this gist
Jul 10, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,6 @@ ## General: alias ll='ls -alFh --color' alias x='exit' ## Git: -
nickautomatic revised this gist
Jul 10, 2015 . 1 changed file with 4 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -7,13 +7,16 @@ alias x='exit' alias ga='git add' alias gb='git branch' alias gco='git checkout' alias gcm='git commit -m' alias gd='git diff' alias gl="git log --graph --date-order --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(yellow) %an %Creset' --abbrev-commit --date=relative" alias gm='git merge' alias gpl='git pull' alias gps='git push' alias gr='git remote' alias grb='git rebase' alias grs='git reset' alias gs='git status' ## FuelPHP: -
nickautomatic created this gist
May 22, 2014 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,21 @@ ## General: alias ll='ls -la --color' alias x='exit' ## Git: alias ga='git add' alias gb='git branch' alias gch='git checkout' alias gcm='git commit -m' alias gd='git diff' alias gl="git log --graph --date-order --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(yellow) %an %Creset' --abbrev-commit --date=relative" alias gpl='git pull' alias gps='git push' alias gr='git remote' alias gs='git status' ## FuelPHP: alias oil='php oil'