if not status --is-interactive
    exit
end

alias g git

alias vi nvim
alias vim nvim

alias mux tmuxinator

alias gpg gpg2
alias scramble 'gpg --encrypt --recipient me@rdavis.xyz --armour'
alias unscramble 'gpg --decrypt --quiet'

alias nstack 'stack --resolver nightly'

alias vscode code

switch (uname)
    case Linux
        alias pip-upgrade "pip3 list --outdated --user --format=legacy | cut -d ' ' -f 1 | xargs -n 1 pip3 install --upgrade --user"
        alias code "code --user-data-dir "$XDG_CONFIG_HOME/vscode" --extensions-dir "$XDG_CONFIG_HOME/vscode/extensions""
    case Darwin
        alias pip-upgrade "pip3 list --outdated --format=legacy | cut -d ' ' -f 1 | xargs -n 1 pip3 install --upgrade"
end

if not status --is-interactive
    exit
end

alias g git

alias vi nvim
alias vim nvim

alias mux tmuxinator

alias gpg gpg2
alias encrypt 'gpg --encrypt --recipient me@rdavis.xyz --armour --output -'
alias decrypt 'gpg --decrypt --quiet'

alias nstack 'stack --resolver nightly'

alias vscode code

switch (uname)
    case Linux
        alias pip-upgrade "pip3 list --outdated --user --format=legacy | cut -d ' ' -f 1 | xargs -n 1 pip3 install --upgrade --user"
        alias code "code --user-data-dir "$XDG_CONFIG_HOME/vscode" --extensions-dir "$XDG_CONFIG_HOME/vscode/extensions""
    case Darwin
        alias pip-upgrade "pip3 list --outdated --format=legacy | cut -d ' ' -f 1 | xargs -n 1 pip3 install --upgrade"
end

Use better names for gpg aliases
Use better names for gpg aliases

Rypac/dotfiles,Rypac/dotfiles,Rypac/dotfiles