summaryrefslogtreecommitdiff
path: root/fish/.config/fish/config.fish
blob: 649d23f22a45d9e7ae69e42175632b1fa61d03f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Vim stuff
alias vim "nvim"
set -x EDITOR nvim
set -x SUDO_EDITOR nvim

# Other things
set -x TERM xterm-256color

# Path
set -x PATH $PATH $HOME/go/bin
set -x PATH $PATH $HOME/Scripts/bin
set -x PATH $PATH $HOME/.cargo/bin
set -x PATH $PATH $HOME/.nix-profile/bin

# Functions
function gittr
    if test (count $argv) -lt 1
        git push -u origin HEAD
    else
        git push -u $argv[1] HEAD
    end
end