summaryrefslogtreecommitdiff
path: root/fish/config.fish
blob: a8159eb4be554d5e8ebdf46a436c0a7094f372d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
fish_add_path -p /usr/local/sbin /usr/local/bin /usr/bin

set -e TERMCAP
set -e MANPATH

pyenv init - | source
zoxide init fish | source
starship init fish | source

function xcd
    set --local result (command xplr $argv)
    [ -n "$result" ] && cd "$result"
end

if status is-interactive
    alias ls='eza'
    alias cd='z'
    alias grep='grep --color=auto'
    alias nv=nvim

    fish_add_path -p ~/.cargo/bin ~/.local/bin
    pfetch
end