Skip to content

Getting Started

Ossama Hjaji edited this page Nov 17, 2020 · 24 revisions

Onefetch is installed, then what?

Dependencies

Make sure that you have Git installed; onefetch invokes git commands to examine the contents of your repository, so it is required that the git command be in your PATH when you run onefetch.

Usage

> onefetch /path/of/your/repo

Or

> cd /path/of/your/repo
> onefetch

Misc

By @spenserblack

# Runs `onefetch -a Assembly`, `onefetch -a C`, etc.
onefetch -l | while read line; do echo "$line"; onefetch -a $line; done;

By @mbrehin

# Add Git alias for onefetch.
git config --global alias.project-summary '!which onefetch && onefetch'
Clone this wiki locally