Move the Module to modules/fish/fish.nix and mirror a real fish config directory beside it: config.fish (interactive init), conf.d/done.fish (the done plugin tuning, now a real conf.d file), and functions/copy.fish. completions/ and themes/ are omitted as they have no content and git cannot track empty directories.
20 lines
459 B
Fish
20 lines
459 B
Fish
# vi-style modal editing on the command line.
|
|
set -g fish_key_bindings fish_vi_key_bindings
|
|
|
|
set -gx EDITOR nvim
|
|
set -gx VISUAL nvim
|
|
|
|
# Render man pages through bat.
|
|
set -x MANROFFOPT "-c"
|
|
set -x MANPAGER "sh -c 'col -bx | bat -l man -p'"
|
|
|
|
# Prepend ~/.local/bin to PATH when it exists.
|
|
if test -d ~/.local/bin
|
|
fish_add_path ~/.local/bin
|
|
end
|
|
|
|
# Apply fish-compatible profile overrides if present.
|
|
if test -f ~/.fish_profile
|
|
source ~/.fish_profile
|
|
end
|