dotfiles/fish/config.fish

54 lines
986 B
Fish

function _ntfy_done -a title message
ntfy send \
--quiet \
--title "$title" \
--tags "$(hostname)",computer \
https://push.pnyhf.eu/terminal \
"$message"
end
# Skips non-existing and already known paths
fish_add_path \
~/.local/bin \
~/.cargo/bin \
~/.config/composer/vendor/bin \
~/go/bin \
/usr/local/go/bin
abbr -a -- c composer
abbr -a -- dc docker compose
abbr -a -- gu gitup
abbr -a -- g git
abbr -a -- q pueue
alias j z
alias jj zz
alias ls lsd
alias l ls
alias ll 'ls -la'
alias llh 'ls -lha'
if test -r ~/.asdf/asdf.fish
source ~/.asdf/asdf.fish
end
if test -x "$(which mise)"
mise activate fish | source
end
if test -x "$(which wezterm)"
wezterm shell-completion --shell fish | source
end
if test -x "$(which starship)"
starship init fish | source
end
if test -x "$(which direnv)"
direnv hook fish | source
end
if test -x "$(which pueue)"
pueue completions fish | source
end