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/keymaps.zsh | 2 +- ar/.config/zsh/scripts.zsh | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) (limited to 'ar/.config/zsh') diff --git a/ar/.config/zsh/keymaps.zsh b/ar/.config/zsh/keymaps.zsh index b2195d4..7a02040 100644 --- a/ar/.config/zsh/keymaps.zsh +++ b/ar/.config/zsh/keymaps.zsh @@ -319,7 +319,7 @@ else bindkey -s '^V' '^uv.\n' bindkey -s '^Y' '^ulfcd\n' bindkey -s '^Z' '^upd\n' - # bindkey -s '^_' '^u\n' + bindkey -s '^_' '^ucht\n' bindkey -s '^X^A' '^uali\n' bindkey -s '^X^B' '^ugitopenbranch\n' bindkey -s '^X^D' '^ufD\n' 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