Skip to content

Instantly share code, notes, and snippets.

@xhat
Created October 26, 2012 02:29
Show Gist options
  • Select an option

  • Save xhat/3956579 to your computer and use it in GitHub Desktop.

Select an option

Save xhat/3956579 to your computer and use it in GitHub Desktop.

Revisions

  1. xhat created this gist Oct 26, 2012.
    10 changes: 10 additions & 0 deletions gistfile1.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,10 @@
    alias cd=x1
    function x1() {
    builtin cd "$@"
    ls | head -20
    }

    --------------------------------
    贴gist到v2ex的方法是直接粘贴链接如:
    http://gist.github.com/3952722
    --------------------------------