Skip to content

Instantly share code, notes, and snippets.

@benhamill
Last active February 25, 2016 06:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save benhamill/a7cd465f95ba85c9908b to your computer and use it in GitHub Desktop.
Save benhamill/a7cd465f95ba85c9908b to your computer and use it in GitHub Desktop.
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'
function gcb() {
git branch | grep '^\*' | cut -c3-
}
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
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment