dotfiles

Settings and scripts
git clone git://git.konyahin.xyz/dotfiles
Log | Files | Refs | LICENSE

commit 433078ee63abace965606a03d15af99c62b10d55
parent a1f43eca4a3706f3413d6d89ccecf99a0e153dfc
Author: Anton Konyahin <me@konyahin.xyz>
Date:   Fri,  2 Jun 2023 08:49:02 +0300

sh: cheat.sh integration

Diffstat:
Msh/.config/ksh/kshrc | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/sh/.config/ksh/kshrc b/sh/.config/ksh/kshrc @@ -64,6 +64,10 @@ me () { $EDITOR $(make 2>&1 | grep '^.*\.[ch]:' | fzf | awk -F: '{printf "-c %s %s\n", $2, $1}') } +cheat () { + curl "cheat.sh/$1" | bat +} + alias music-dl='youtube-dl -f "bestaudio[ext=m4a]"' alias reload='. ~/.config/ksh/kshrc'