Comment

Comment by psophis

I use this zsh function and define my git alias in my git config.

    # No arguments: `git status`
    # With arguments: acts like `git`
    function g() {
      if [[ $# > 0 ]]; then
        git $@
      else
        git st 
      fi
    }

    # Complete g like git
    compdef g=git
parent psophis 2 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton