diff --git a/home/private_dot_config/zsh/functions/executable_cht b/home/private_dot_config/zsh/functions/executable_cht new file mode 100644 index 0000000..b134d86 --- /dev/null +++ b/home/private_dot_config/zsh/functions/executable_cht @@ -0,0 +1,8 @@ +#!/usr/bin/env zsh + +if [ $# -eq 0 ]; +then + curl -s cheat.sh | less -R +else + curl -s cheat.sh/${@} | less -R +fi diff --git a/home/private_dot_config/zsh/functions/large-git b/home/private_dot_config/zsh/functions/executable_large-git similarity index 100% rename from home/private_dot_config/zsh/functions/large-git rename to home/private_dot_config/zsh/functions/executable_large-git diff --git a/home/private_dot_config/zsh/functions/executable_q b/home/private_dot_config/zsh/functions/executable_q index b134d86..c7164f1 100644 --- a/home/private_dot_config/zsh/functions/executable_q +++ b/home/private_dot_config/zsh/functions/executable_q @@ -1,8 +1,3 @@ #!/usr/bin/env zsh -if [ $# -eq 0 ]; -then - curl -s cheat.sh | less -R -else - curl -s cheat.sh/${@} | less -R -fi +llm -s "Answer in as few words as possible. Use a brief style with short replies." -m claude-3.5-sonnet "$*" diff --git a/home/private_dot_config/zsh/functions/executable_qc b/home/private_dot_config/zsh/functions/executable_qc new file mode 100644 index 0000000..0c867b9 --- /dev/null +++ b/home/private_dot_config/zsh/functions/executable_qc @@ -0,0 +1,3 @@ +#!/usr/bin/env zsh + +llm -m claude-3-haiku "$*" diff --git a/home/private_dot_config/zsh/functions/executable_qe b/home/private_dot_config/zsh/functions/executable_qe new file mode 100644 index 0000000..6014812 --- /dev/null +++ b/home/private_dot_config/zsh/functions/executable_qe @@ -0,0 +1,3 @@ +#!/usr/bin/env zsh + +llm -m claude-3-opus "$*"