about summary refs log tree commit diff
path: root/dotfiles/config.fish
blob: a6c611f7059f2a11ef113d906f138ff97ef2b785 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# 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'