dotfiles/.config/fish/config.fish
2026-01-28 00:57:01 +01:00

36 lines
971 B
Fish

if status is-interactive
# Commands to run in interactive sessions can go here
end
abbr --add ll ll -a
abbr --add adl album-dl.fish
abbr --add vv nvim
abbr --add tr gio trash
function alacritty
command alacritty msg create-window $argv
end
function mvi --description 'Launches mpv with mvi configuration'
mpv --config-dir=$HOME/.config/mvi/ $argv
end
function open --description 'Opens a file in its default application'
argparse h/help -- $argv
or return
if set -ql _flag_help
echo "open [-h|--help] [STRING]"
return 0
end
niri msg action spawn -- xdg-open $argv
end
# BEGIN opam configuration
# This is useful if you're using opam as it adds:
# - the correct directories to the PATH
# - auto-completion for the opam binary
# This section can be safely removed at any time if needed.
test -r '/home/never/.opam/opam-init/init.fish' && source '/home/never/.opam/opam-init/init.fish' > /dev/null 2> /dev/null; or true
# END opam configuration