tvl-depot/dotfiles/config.fish
Vincent Ambo d7ae1b70d3 fix(dotfiles): Overwrite default NixOS fish config
NixOS by default adds some fish-config setup that I don't think I
want, but it's a bit unclear what the goal of it is.

I've overwritten it now and things still work fine!
2017-10-21 00:05:49 +02:00

23 lines
536 B
Fish

# Configure classic prompt
set fish_color_user --bold blue
set fish_color_cwd --bold white
# Fish configuration
set fish_greeting ""
set PATH $HOME/.local/bin $GOPATH/bin $PATH
# Editor configuration
set -gx EDITOR "emacsclient"
set -gx ALTERNATE_EDITOR "emacs -q -nw"
set -gx VISUAL "emacsclient"
# Miscellaneous
eval (direnv hook fish)
# Useful command aliases
alias gpr 'git pull --rebase'
alias gco 'git checkout'
alias gf 'git fetch'
alias gap 'git add -p'
alias pbcopy 'xclip -selection clipboard'
alias edit 'emacsclient -n'