all repos — nixfiles @ 90ca485ef06d428e4c65fb2815570b2d64e2117c

System and user configuration, managed by nix and home-manager

user/settings/fish/config.fish (view raw)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
set --global tide_left_prompt_items shlvl pwd git newline character

for mode in default insert
    bind --mode $mode tab complete
    if functions --query _fifc
        bind --mode $mode shift-tab _fifc
    end
end

set --local fish_term_config $__fish_config_dir/per-term/$TERM_PROGRAM.fish
if set --query TERM_PROGRAM && path is $fish_term_config
    source $fish_term_config
end

# tide needs this for now https://github.com/IlanCosman/tide/issues/622
set -g fish_key_bindings fish_default_key_bindings

function __set_current_theme --on-variable THEME_CURRENT
    INHIBIT_THEME_HIST=1 theme.sh $THEME_CURRENT
end