80 lines
2.2 KiB
Fish
80 lines
2.2 KiB
Fish
set -gx EDITOR nvim
|
|
set -gx PAGER less
|
|
set -Ux MANPAGER "nvim +Man!"
|
|
# set -gx BAT_THEME "Catppuccin Mocha"
|
|
## functions
|
|
set -g fish_greeting
|
|
set -g fish_cursor_insert line
|
|
set -g fish_cursor_default block
|
|
set -g fish_cursor_visual underscore
|
|
set -g fish_user_key_bindings
|
|
set -g askllama
|
|
set -g ask
|
|
set -g sshf
|
|
set -g tuis
|
|
|
|
alias dmz="cat ~/.config/fish/dmz.txt"
|
|
alias matrix="~/projects/random-clones/matrix/matrix"
|
|
|
|
# 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"
|
|
|
|
# Shorts
|
|
alias fzf="fzf --preview color='always {}'"
|
|
alias grep="grep --color=auto"
|
|
alias cat="vimcat"
|
|
|
|
# Git
|
|
alias gs="git status"
|
|
alias gca="git add -p . && git commit"
|
|
alias gd="git diff --word-diff"
|
|
alias gl="git log --graph --show-signature"
|
|
alias gla="git log --all --decorate --oneline --graph"
|
|
alias gm="git merge"
|
|
|
|
# List Directory
|
|
alias ls="lsd"
|
|
alias l="ls -l"
|
|
alias la="ls -a"
|
|
alias lla="ls -la"
|
|
alias lt="ls --tree"
|
|
|
|
alias cdots="cd ~/.dotfiles/.config/"
|
|
alias cpnotes="cd ~/sync/PersonalNotes/"
|
|
abbr dots "cdots && nvim"
|
|
abbr pnotes "cpnotes && nvim"
|
|
abbr todo "cpnotes && nvim ToDo.md"
|
|
|
|
abbr copy "wl-copy"
|
|
abbr img "kitten icat"
|
|
abbr fm "yazi" ## file manager
|
|
abbr lg "lazygit"
|
|
abbr mkdir "mkdir -p"
|
|
abbr faillock "sudo faillock --reset"
|
|
abbr ipadd "sudo ip route add 192.168.0.234 dev wg0"
|
|
abbr xremaps "sudo xremap ~/.config/xremap/config.yml"
|
|
abbr pacs "sudo pacman -Syu"
|
|
abbr nmaps "sudo nmap -sn 192.168.0.0/24"
|
|
abbr scrcpyc 'scrcpy -wSK -m 1920 --window-borderless --always-on-top --power-off-on-close'
|
|
abbr scrcpys 'scrcpy -wS --power-off-on-close'
|
|
abbr aliases "bat ~/.config/fish/config.fish"
|
|
abbr tts "tt -notheme -bold -showwpm -json"
|
|
|
|
# Handy change dir shortcuts
|
|
abbr .. "cd .."
|
|
abbr ... "cd ../.."
|
|
abbr .3 "cd ../../.."
|
|
abbr .4 "cd ../../../.."
|
|
abbr .5 "cd ../../../../.."
|
|
|
|
|
|
zoxide init --cmd cd fish | source
|
|
export PATH="$HOME/.cargo/bin:$PATH"
|
|
|
|
|
|
# Created by `pipx` on 2025-05-31 20:14:06
|
|
set PATH $PATH /home/anon/.local/bin
|