-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbashrc
37 lines (27 loc) · 890 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
28
29
30
31
32
33
34
35
36
37
#
# ~/.bashrc
#
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
#set editor
export EDITOR=vim
#this makes it run with 256 colors
#colorize ls
alias ls='ls --color=auto'
alias notifi="python ~/dotfiles/scripts/note/notifi"
#set terminal colors
export PS2="\[\033[01;32m\]\u@\h \[\033[00;31m\]\W \$ \[\033[00m\]"
export PS1="\[$(tput bold)\]\[$(tput setaf 5)\]\u@\h\[$(tput setaf 6)\] \W \$ \[$(tput sgr0)\]"
set -o vi
export PATH="$HOME:/local:$HOME/.local/lib:$HOME/dotfiles/scripts:$HOME/.cargo/bin:$PATH"
# if we are running on arch
if [[ -f /etc/pacman.conf ]]
then
alias pacuar="pacaur"
alias pacman-clean=" sudo pacman -Rns \$(pacman -Qtdq); sudo pacman -Sc"
alias vim="nvim"
alias vi="/usr/bin/vim"
alias wiki="vim -c VimwikiIndex"
alias git-shove="git add .;git commit . -m notes; git push"
fi
[ -f ~/.fzf.bash ] && source ~/.fzf.bash