Use pokeget-rs on fastfetch with a guided tutorial!
pokeget-rs
at talwatpokeget-rs
fastfetch
at fastfetch-cli/fastfetch
Install fastfetch
using your distro's package manager.
Distro | Command |
---|---|
Arch | pacman -S fastfetch |
Debian/Ubuntu | apt install fastfetch |
Fedora | dnf install fastfetch |
Windows (WinGet) | winget install Fastfetch-cli.Fastfetch |
- Super user privilages may be required to install.
Requires cargo
, located in the rust-lang/rust repo.
Distro | Command |
---|---|
Arch | pacman -S cargo |
Debian/Ubuntu | apt install cargo |
Fedora | dnf install cargo |
Windows | rustup (rust-lang.org) |
Install pokeget-rs
via cargo
.
cargo install pokeget
Upon installation, you may get a message like this.
warning: be sure to add "/home/user/.cargo/bin" to your PATH to be able to run the installed binaries
This is because your .bashrc
or .zshrc
needs to adopt the path to the pokeget binary. To fix this,
- Open your
.bashrc
or.zshrc
file - Append
export PATH="<path>:$PATH"
to it. (<path>
is the path to the binary,/home/user/.cargo/bin
) - Save, exit, and restart your terminal emulator.
(Make sure you've added pokeget to your .bashrc
.)
- Open your
.bashrc
file. - Insert the following string into the file.
alias pokefetch="pokeget <pokemon> <flags> --hide-name | fastfetch --file-raw -"
- Save, exit, and restart your shell.
- Execute
pokefetch
.
Make or edit your Windows Powershell profile file.
- (Optional) Type
New-Item -Path $profile -Type File -Force
to make a profile. - Open your Powershell file.
notepad.exe $PROFILE
- Insert the following string into the file.
function Call-Pokefetch {
pokeget <pokemon> <flags> --hide-name | fastfetch --file-raw -
}
Set-Alias pokefetch Call-Pokefetch
- Save, exit, and reload your Powershell profile.
. $PROFILE
- Execute
pokefetch
.
- The rendering of the Pokemon is broken on Powershell!!
This is due to using an old version of Powershell. Install the latest Powershell from Microsoft and execute it there.
I wanted to get more used to how GitHub works, as well as try my hand at building a quick tutorial for something I had to work out myself.
This was all typed stream-of-conciousness, so if there's anything wrong, please let me know or create a pull request.
Thanks to talwatpokeget-rs and fastfetch-cli/fastfetch for making these awesome tools.