-
Notifications
You must be signed in to change notification settings - Fork 0
/
.bashrc
47 lines (36 loc) · 1.32 KB
/
.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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#
# ~/.bashrc
#
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
alias ls='exa -l --git'
PS1='[\u@\h \W]\$ '
source /usr/share/doc/pkgfile/command-not-found.bash
source /usr/share/nvm/init-nvm.sh
alias vim=nvim
alias v=nvim
alias git=hub
alias ggs='git status '
alias gga='git add -p'
alias ggb='git branch '
alias ggc='git commit'
alias ggd='git diff'
alias ggco='git checkout '
# Add RVM to PATH for scripting. Make sure this is the last PATH variable change.
export PATH="$PATH:$HOME/.cargo/bin"
export PATH="$PATH:$HOME/.rvm/bin"
export PATH="$PATH:$HOME/.local/bin"
export EDITOR=nvim
export ERL_AFLAGS="-kernel shell_history enabled"
export HISTCONTROL=ignoreboth:erasedups
shopt -s histappend
export HISTSIZE=100000 # big big history
export HISTFILESIZE=100000 # big big history
export MM_DEBUG=1
eval "$(fasd --init auto)"
alias j='fasd_cd -d -1'
[ -f ~/.fzf.bash ] && source ~/.fzf.bash
# The next line updates PATH for the Google Cloud SDK.
if [ -f '/home/neel/software/google-cloud-sdk/path.bash.inc' ]; then . '/home/neel/software/google-cloud-sdk/path.bash.inc'; fi
# The next line enables shell command completion for gcloud.
if [ -f '/home/neel/software/google-cloud-sdk/completion.bash.inc' ]; then . '/home/neel/software/google-cloud-sdk/completion.bash.inc'; fi