Skip to content

Instantly share code, notes, and snippets.

View smores56's full-sized avatar

Sam Mohr smores56

View GitHub Profile
@it-ankka
it-ankka / xkcd.zsh
Last active March 24, 2022 14:29
A simple Zsh/Bash function for getting and displaying a random xkcd comic in the Kitty terminal
# XKCD
# Add this to your .bashrc or if you are using oh-my-zsh add a functions.zsh file under your oh-my-zsh/custom folder.
# Requirements:
# - Kitty terminal
# - jq
# - ImageMagick
function xkcd () {
comicNum=$1