[Fish] aliases and function
This commit is contained in:
@@ -29,15 +29,12 @@ alias matrix="~/projects/random-clones/matrix/matrix"
|
|||||||
alias nmatrix="neo-matrix -DS 3"
|
alias nmatrix="neo-matrix -DS 3"
|
||||||
|
|
||||||
# LLMs
|
# LLMs
|
||||||
alias codellamasrv=" ~/projects/llama.cpp/build/bin/llama-server -m ~/projects/llama.cpp/models/codellama"
|
alias llamasrv="~/projects/pkgs/llama.cpp/build/bin/llama-server"
|
||||||
alias llama3-web="~/projects/llama.cpp/build/bin/llama-server -m ~/projects/llama.cpp/models/llama3"
|
abbr llamastart "llamasrv --host 0.0.0.0 --port 11343 --models-max 3 --models-preset ~/Documents/models/config.ini"
|
||||||
alias llama3=" ~/projects/llama.cpp/build/bin/llama-cli -m ~/projects/llama.cpp/models/llama3"
|
|
||||||
alias llama=" ~/projects/llama.cpp/build/bin/llama-run"
|
|
||||||
|
|
||||||
# Shorts
|
# Shorts
|
||||||
alias fzf="fzf --preview color='always {}'"
|
alias fzf="fzf --preview color='always {}'"
|
||||||
alias grep="grep --color=auto"
|
alias grep="grep --color=auto"
|
||||||
alias cat="bat -p"
|
|
||||||
|
|
||||||
# Git
|
# Git
|
||||||
alias gs="git status"
|
alias gs="git status"
|
||||||
@@ -61,6 +58,7 @@ abbr dots "cdots && nvim"
|
|||||||
abbr pnotes "cpnotes && nvim"
|
abbr pnotes "cpnotes && nvim"
|
||||||
abbr todo "cpnotes && nvim ToDoNext.md"
|
abbr todo "cpnotes && nvim ToDoNext.md"
|
||||||
|
|
||||||
|
abbr cat "bat -p"
|
||||||
abbr copy "wl-copy"
|
abbr copy "wl-copy"
|
||||||
abbr img "kitten icat"
|
abbr img "kitten icat"
|
||||||
abbr fm "yazi" ## file manager
|
abbr fm "yazi" ## file manager
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
function askllama --description 'answer from llama'
|
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
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user