aboutsummaryrefslogtreecommitdiff
path: root/.config/fish/config.fish
blob: 5fb43959429d80280d3f6f2d4503d2051c93218f (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
26
27
28
29
30
31
32
/opt/homebrew/bin/brew shellenv | source
if status is-interactive
    # Commands to run in interactive sessions can go here
    atuin init fish | source
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
source "$HOME/.cargo/env.fish"

fish_add_path /Users/algo/.opencode/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