Skip to content

Latest commit

 

History

History
71 lines (46 loc) · 1.53 KB

File metadata and controls

71 lines (46 loc) · 1.53 KB

zaw-src-github

shell plugin requires license

zaw-src-github hero banner

Optional sources of zaw for Github:

  • github

It shows list of your repos on Github and clones repo you choose.

  • github-starred

It shows list of your favorite repos (starred) on Github and clones repo you choose.

Installation

If you are using zplug, just add the code below in your .zshrc.

zplug "zsh-users/zaw"
zplug "GeneralD/zaw-src-github", on:zsh-users/zaw, defer:2

For oh-my-zsh, clone this repo into ~/.oh-my-zsh/custom/plugins and add plugin as below.

plugins+=(zaw zaw-src-github)

Customize

If you have a config file ~/.config/hub as below, username and taken will be loaded from it.

github.com:
- user: GeneralD
  oauth_token: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
  protocol: https

Furthermore, you can override if you want.

ZAW_GITHUB_USER=GeneralD
ZAW_GITHUB_TOKEN=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Dependencies

  • jq
  • go

If you are using macOS, you can install with,

brew install jq
brew install go
  • any nerd-font

This zaw source shows characters of nerd-font. You can search compatible font with,

brew cask search nerd-font

Then, install and set any nerd-font to your terminal application.