Lots of small tweaks

This commit is contained in:
2026-01-28 11:53:05 -05:00
parent 2ebd8dc6fa
commit c23f627fbc
6 changed files with 204 additions and 599 deletions

View File

@@ -19,7 +19,8 @@ alias lyadm="lazygit --work-tree ~ --git-dir ~/.local/share/yadm/repo.git"
alias jyadm="just -g"
# Completions
fpath=($HOME/.zsh/completions $fpath)
# fpath=($HOME/.zsh/completions $fpath)
fpath=($XDG_CONFIG_HOME/zsh/completions $fpath)
autoload -U compinit; compinit
_comp_options+=(globdots) # With hidden
@@ -37,6 +38,14 @@ if [ -d /usr/share/doc/fzf ]; then
source /usr/share/doc/fzf/examples/key-bindings.zsh
fi
# pushover push
function push {
curl -s -F "token=akqmpnoru464pps3g1123pszrpqzyk" \
-F "user=ugixb16u6s9bicq1ezcnmkxfrje8b6" \
-F "title=Command Finished" \
-F "message=$1 Return value: $?" https://api.pushover.net/1/messages.json
}
# ----------------- Replacement for standard tools ----------------- #
# ls -> eza aliases
# https://gist.github.com/AppleBoiy/04a249b6f64fd0fe1744aff759a0563b
@@ -69,7 +78,7 @@ if [ "$(command -v bat)" != "" ]; then
export BAT_THEME="base16"
export BAT_STYLE="numbers,changes,header"
alias cat="bat"
alias -g -- -h='-h 2>&1 | bat --language=help --style=plain'
# alias -g -- -h='-h 2>&1 | bat --language=help --style=plain'
fi
# direnv hook
if [ "$(command -v direnv)" != "" ]; then