Skip to content

Instantly share code, notes, and snippets.

@vcavallo
Created September 24, 2013 20:25
Show Gist options
  • Save vcavallo/6690701 to your computer and use it in GitHub Desktop.
Save vcavallo/6690701 to your computer and use it in GitHub Desktop.
CS function for bash profile - `cs ~/directory` does `cd` to ~/directory and then immediately does `ls` there (well, a fancy ls...).
# CS function
function cs () {
cd $1; ls "-lahG"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment