summaryrefslogtreecommitdiff
path: root/ar/.config/zsh
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-02-07 08:17:25 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-02-07 08:17:25 +0900
commit04e7c49bf12faa662785f59ff4f975d4d71df703 (patch)
tree93682f6bffb44cd7820483d9d91b12304e8d9305 /ar/.config/zsh
parent72a85f549d865cb748fa65708ffb1ea5d9d03783 (diff)
updates
Diffstat (limited to 'ar/.config/zsh')
-rw-r--r--ar/.config/zsh/keymaps.zsh2
-rw-r--r--ar/.config/zsh/scripts.zsh14
2 files changed, 15 insertions, 1 deletions
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
@@ -40,6 +40,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 --- ###
# print color
alias pcol=print_col