This commit is contained in:
Never Gude 2026-02-11 20:06:51 +01:00
parent 3a5d5eea2f
commit 28451c7f31
4 changed files with 80 additions and 53 deletions

View file

@ -1,25 +1,56 @@
if status is-interactive
# Commands to run in interactive sessions can go here
abbr --add ll ll -a
abbr --add adl album-dl.fish
abbr --add vv nvim
abbr --add tr gio trash
abbr --add --set-cursor tldr curl cheat.sh/%
function alacritty
command alacritty msg create-window $argv
end
function mvi --description 'Launches \d mpv with mvi configuration'
mpv --config-dir=$HOME/.config/mvi/ $argv
end
# Colorscheme
set -U fish_color_normal normal
set -U fish_color_command brgreen --bold
set -U fish_color_keyword brred
set -U fish_color_quote green --italics
set -U fish_color_redirection yellow
set -U fish_color_end cyan
set -U fish_color_error red --underline=curly
set -U fish_color_param normal
set -U fish_color_comment brblack
set -U fish_color_selection normal --bold --background brblack
set -U fish_color_search_match
set -U fish_color_history_current
set -U fish_color_operator yellow
set -U fish_color_escape white --bold
set -U fish_color_cwd green
set -U fish_color_cwd_root red
set -U fish_color_option brblue
set -U fish_color_valid_path --underline
set -U fish_color_autosuggestion white
set -U fish_color_user brgreen
set -U fish_color_host normal
set -U fish_color_host_remote yellow
set -U fish_color_history_current --bold
set -U fish_color_status red
set -U fish_color_cancel white --bold
set -U fish_pager_color_prefix normal --bold --underline
set -U fish_pager_color_progress normal --bold --reverse
set -U fish_pager_color_completion normal
set -U fish_pager_color_description yellow --italics
set -U fish_pager_color_selected_background --background brblue
set -U fish_pager_color_secondary_background
set -U fish_pager_color_selected_completion black --bold
set -U fish_pager_color_background
set -U fish_pager_color_selected_description bryellow --bold --italics
set -U fish_pager_color_secondary_prefix
set -U fish_pager_color_secondary_description
set -U fish_pager_color_selected_prefix black --bold --underline
set -U fish_pager_color_secondary_completion
end
abbr --add ll ll -a
abbr --add adl album-dl.fish
abbr --add vv nvim
abbr --add tr gio trash
abbr --add --set-cursor tldr curl cheat.sh/%
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
# 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