Last active
February 25, 2016 06:04
-
-
Save benhamill/a7cd465f95ba85c9908b to your computer and use it in GitHub Desktop.
Revisions
-
benhamill revised this gist
Feb 25, 2016 . 2 changed files with 22 additions and 13 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,7 +1,12 @@ Last login: Thu Feb 25 00:02:32 on ttys004 UALC02NJ0RCG3QR:~ bhamill$ bash --version GNU bash, version 4.3.42(1)-release (x86_64-apple-darwin14.5.0) Copyright (C) 2013 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software; you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. UALC02NJ0RCG3QR:~ bhamill$ cat ~/.bashrc export HI=hi alias ll='ls -la' @@ -12,6 +17,6 @@ function gcb() { UALC02NJ0RCG3QR:~ bhamill$ echo $HI hi UALC02NJ0RCG3QR:~ bhamill$ alias ll alias ll='ls -la' UALC02NJ0RCG3QR:~ bhamill$ gcb fatal: Not a git repository (or any of the parent directories): .git 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,17 +1,21 @@ bash-4.3$ bash --version GNU bash, version 4.3.42(1)-release (x86_64-apple-darwin14.5.0) Copyright (C) 2013 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software; you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. bash-4.3$ cat ~/.bashrc export HI=hi alias ll='ls -la' function gcb() { git branch | grep '^\*' | cut -c3- } bash-4.3$ echo $HI hi bash-4.3$ alias ll alias ll='ls -la' bash-4.3$ gcb fatal: Not a git repository (or any of the parent directories): .git -
benhamill revised this gist
Feb 25, 2016 . 2 changed files with 7 additions and 3 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,4 +1,7 @@ Last login: Wed Feb 24 22:38:23 on ttys004 UALC02NJ0RCG3QR:~ bhamill$ cat ~/.bashrc source ~/.bash_profile UALC02NJ0RCG3QR:~ bhamill$ cat ~/.bash_profile export HI=hi alias ll='ls -la' 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,4 +1,6 @@ sh-3.2$ cat ~/.bashrc source ~/.bash_profile sh-3.2$ cat ~/.bash_profile export HI=hi alias ll='ls -la' @@ -8,9 +10,8 @@ function gcb() { } sh-3.2$ echo $HI hi sh-3.2$ alias ll sh: alias: ll: not found sh-3.2$ gcb sh: gcb: command not found sh-3.2$ -
benhamill created this gist
Feb 25, 2016 .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,14 @@ UALC02NJ0RCG3QR:~ bhamill$ cat ~/.bashrc export HI=hi alias ll='ls -la' function gcb() { git branch | grep '^\*' | cut -c3- } UALC02NJ0RCG3QR:~ bhamill$ echo $HI hi UALC02NJ0RCG3QR:~ bhamill$ alias ll ll='ls -la' UALC02NJ0RCG3QR:~ bhamill$ gcb fatal: Not a git repository (or any of the parent directories): .git 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,16 @@ sh-3.2$ cat ~/.bashrc export HI=hi alias ll='ls -la' function gcb() { git branch | grep '^\*' | cut -c3- } sh-3.2$ echo $HI hi sh-3.2$ ll sh: ll: command not found sh-3.2$ alias ll sh: alias: ll: not found sh-3.2$ gcb sh: gcb: command not found