aboutsummaryrefslogtreecommitdiff
path: root/.config/fish/config.fish
blob: 720c1532f5cc02d4ebf74ddbc2493091dd1d882d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
if status is-interactive
    # Commands to run in interactive sessions can go here
end

# Add to PATH
fish_add_path ~/bin
fish_add_path ~/go/bin
fish_add_path ~/.local/bin

if [ -f "$HOME/.zig/env" ];
  fish_add_path /home/algo/.zig/bin
  fish_add_path /home/algo/.zig/zig
end
fish_add_path --prepend $HOME/.cargo/bin

# Set editor
set -gx EDITOR nvim

# Man page settings
set -gx MANPAGER 'nvim +Man!'
set -gx MANWIDTH 80

fish_vi_key_bindings

starship init fish | source