Big dump commit
This commit is contained in:
26
zsh/.zshrc
26
zsh/.zshrc
@@ -1,16 +1,19 @@
|
||||
# NO FUCKING BEEP
|
||||
unsetopt BEEP
|
||||
|
||||
# Run pywal only on WSL
|
||||
# Dark GTK for pwvucontrol
|
||||
export GTK_THEME=Adwaita:dark
|
||||
|
||||
# Always run pywal (only on WSL)
|
||||
if grep -qE "(Microsoft|WSL)" /proc/version &> /dev/null && [ -z "$TMUX" ]; then
|
||||
cat ~/.cache/wal/sequences
|
||||
clear
|
||||
fi
|
||||
|
||||
# hledger
|
||||
# Hledger
|
||||
export LEDGER_FILE=~/ExoKortex/2-Areas/Finances/finance_vault/tpouplier.hledger
|
||||
|
||||
# emacs client
|
||||
# Emacs client
|
||||
alias emacs="emacsclient -c -a emacs"
|
||||
|
||||
# Opencode
|
||||
@@ -27,7 +30,7 @@ function yy() {
|
||||
rm -f -- "$tmp"
|
||||
}
|
||||
|
||||
# nvim
|
||||
# Nvim
|
||||
export LANG=en_CA.UTF-8
|
||||
export LC_ALL=en_CA.UTF-8
|
||||
export EDITOR="nvim"
|
||||
@@ -39,7 +42,7 @@ source <(fzf --zsh)
|
||||
autoload -Uz compinit && compinit
|
||||
zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}'
|
||||
|
||||
# bat
|
||||
# Bat
|
||||
alias cat=bat
|
||||
|
||||
# aichat
|
||||
@@ -48,7 +51,8 @@ alias aido="aichat -e"
|
||||
aitts() {
|
||||
paplay --raw --rate=22050 --format=s16le --channels=1 <(aichat "Answer only with speech. Your answer will be read outlound. No title, no bold or no special character. Only the short and direct answer. $*" | piper-tts --model en_US-amy-medium.onnx --output-raw)
|
||||
}
|
||||
# tmux
|
||||
|
||||
# Tmux
|
||||
alias t='tmux attach || tmux new'
|
||||
|
||||
# Docker
|
||||
@@ -58,7 +62,7 @@ alias dpa="docker ps -a"
|
||||
alias dl="docker ps -l -q"
|
||||
alias dx="docker exec -it"
|
||||
|
||||
# cd
|
||||
# Cd
|
||||
alias ..="cd .."
|
||||
alias ...="cd ../.."
|
||||
alias ....="cd ../../.."
|
||||
@@ -83,7 +87,7 @@ alias gr='git remote'
|
||||
alias gre='git reset'
|
||||
alias gcl='git clone'
|
||||
|
||||
# lazygit
|
||||
# Lazygit
|
||||
alias lg="lazygit"
|
||||
|
||||
# NVIM
|
||||
@@ -94,7 +98,7 @@ alias l="eza -l --icons --git -a"
|
||||
alias lt="eza --tree --level=2 --icons --git"
|
||||
alias ltree="eza --tree --level=2 --long --icons --git"
|
||||
|
||||
# navigation
|
||||
# Navigation
|
||||
function cx() { cd "$@" && l; }
|
||||
function fcd() { cd "$(find . -type d -not -path '' | fzf)" && l; }
|
||||
#function f() { echo "$(find . -type f -not -path '*/.*' | fzf)" | pbcopy }
|
||||
@@ -112,10 +116,10 @@ eval "$(starship init zsh)"
|
||||
# Zoxide
|
||||
eval "$(zoxide init zsh)"
|
||||
|
||||
# hyprshot
|
||||
# Hyprshot
|
||||
export HYPRSHOT_DIR="Images"
|
||||
|
||||
# direnv
|
||||
# Direnv
|
||||
# eval "$(direnv hook zsh)"
|
||||
|
||||
# Atuin
|
||||
|
||||
Reference in New Issue
Block a user