From 04e7c49bf12faa662785f59ff4f975d4d71df703 Mon Sep 17 00:00:00 2001 From: TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> Date: Fri, 7 Feb 2025 08:17:25 +0900 Subject: updates --- ar/.config/zsh/scripts.zsh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'ar/.config/zsh/scripts.zsh') diff --git a/ar/.config/zsh/scripts.zsh b/ar/.config/zsh/scripts.zsh index 0fa7397..5d45c0b 100644 --- a/ar/.config/zsh/scripts.zsh +++ b/ar/.config/zsh/scripts.zsh @@ -38,6 +38,20 @@ function fzf_aliases() { } +########################################################################################### +########################################################################################### +### --- CHEAT.SH --- ### +function cht() { + if [ -z "$1" ]; then + printf "Enter program name: " + read prog + curl cht.sh/"$prog" + else + curl cht.sh/"$1" + fi +} + + ########################################################################################### ########################################################################################### ### --- COLOR --- ### -- cgit v1.2.3