summaryrefslogtreecommitdiff
path: root/fish/.config/fish/config.fish
blob: a4509efd40187bcc49d0f7601804aa033d55c706 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# 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

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