[Fish] aliases and function

This commit is contained in:
2026-03-07 01:35:09 +01:00
parent cd5cd23e71
commit 17540f0b8b
2 changed files with 4 additions and 6 deletions

View File

@@ -29,15 +29,12 @@ alias matrix="~/projects/random-clones/matrix/matrix"
alias nmatrix="neo-matrix -DS 3"
# LLMs
alias codellamasrv=" ~/projects/llama.cpp/build/bin/llama-server -m ~/projects/llama.cpp/models/codellama"
alias llama3-web="~/projects/llama.cpp/build/bin/llama-server -m ~/projects/llama.cpp/models/llama3"
alias llama3=" ~/projects/llama.cpp/build/bin/llama-cli -m ~/projects/llama.cpp/models/llama3"
alias llama=" ~/projects/llama.cpp/build/bin/llama-run"
alias llamasrv="~/projects/pkgs/llama.cpp/build/bin/llama-server"
abbr llamastart "llamasrv --host 0.0.0.0 --port 11343 --models-max 3 --models-preset ~/Documents/models/config.ini"
# Shorts
alias fzf="fzf --preview color='always {}'"
alias grep="grep --color=auto"
alias cat="bat -p"
# Git
alias gs="git status"
@@ -61,6 +58,7 @@ abbr dots "cdots && nvim"
abbr pnotes "cpnotes && nvim"
abbr todo "cpnotes && nvim ToDoNext.md"
abbr cat "bat -p"
abbr copy "wl-copy"
abbr img "kitten icat"
abbr fm "yazi" ## file manager

View File

@@ -1,3 +1,3 @@
function askllama --description 'answer from llama'
~/projects/llama.cpp/build/bin/llama-run ~/projects/llama.cpp/models/llama3 $(string join '+' $argv[1..])
~/projects/pkgs/llama.cpp/build/bin/llama-simple -m ~/Documents/models/Qwen3-4B-Instruct-2507.Q4_K_M.gguf $(string join '+' $argv[1..])
end