Skip to content

Instantly share code, notes, and snippets.

@imCorfitz
Last active November 2, 2021 14:59
Show Gist options
  • Select an option

  • Save imCorfitz/4b49dd497d55dcf93373d313bb963db7 to your computer and use it in GitHub Desktop.

Select an option

Save imCorfitz/4b49dd497d55dcf93373d313bb963db7 to your computer and use it in GitHub Desktop.

Revisions

  1. imCorfitz revised this gist Nov 2, 2021. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion .functions
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@
    # $HOME/.functions
    function create-next-project() {
    NAME=${1:-tsnext}
    NAME=${1:-too-lazy-to-come-up-with-a-project-name}
    npx create-next-app $NAME -e https://github.com/jpedroschmitz/typescript-nextjs-starter
    }
    # In order to have these functions available in your terminal at all times
  2. imCorfitz created this gist Nov 2, 2021.
    8 changes: 8 additions & 0 deletions .functions
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,8 @@
    # $HOME/.functions
    function create-next-project() {
    NAME=${1:-tsnext}
    npx create-next-app $NAME -e https://github.com/jpedroschmitz/typescript-nextjs-starter
    }
    # In order to have these functions available in your terminal at all times
    # make sure to add following command to your .bashrc or .zshrc file:
    # source $HOME/.functions