-
Notifications
You must be signed in to change notification settings - Fork 0
/
.bashrc
27 lines (20 loc) · 928 Bytes
/
.bashrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
export EDITOR="vim"
export XDG_CURRENT_DESKTOP=Unity
export HISTCONTROL=ignoredups:erasedups # no duplicate entries
export HISTSIZE=100000 # big big history
export HISTFILESIZE=100000 # big big history
shopt -s histappend # append to history, don't overwrite it
# Save and reload the history after each command finishes
export PROMPT_COMMAND="history -a; history -c; history -r; $PROMPT_COMMAND"
# set the command fzf uses as input
export FZF_DEFAULT_COMMAND='ag --ignore-dir=vendor --ignore-dir=\_tools --ignore-dir=\_vendor --ignore-dir=/api/restapi --smart-case -g ""'
export GOPATH=/home/dave/go
# paths
export PATH=/usr/lib/go-1.10/bin:$PATH
export PATH=/home/dave/go/bin:$PATH
alias ls="ls --color -a"
alias bashrc="vim ~/.bashrc"
alias vimrc="vim ~/.vimrc"
alias i3config="vim ~/.i3/config"
alias rl="source ~/.bashrc"
[ -f ~/.fzf.bash ] && source ~/.fzf.bash