dotfiles/fish/config.fish

41 lines
750 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 -- 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 starship)"
starship init fish | source
end
if test -x "$(which direnv)"
direnv hook fish | source
end