Skip to content

Instantly share code, notes, and snippets.

@benhamill
Last active February 25, 2016 06:04
Show Gist options
  • Select an option

  • Save benhamill/a7cd465f95ba85c9908b to your computer and use it in GitHub Desktop.

Select an option

Save benhamill/a7cd465f95ba85c9908b to your computer and use it in GitHub Desktop.
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'
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
sh-3.2$ cat ~/.bashrc
source ~/.bash_profile
sh-3.2$ cat ~/.bash_profile
export HI=hi
alias ll='ls -la'
function gcb() {
git branch | grep '^\*' | cut -c3-
}
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$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment