-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.bashrc
86 lines (63 loc) · 2.04 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
#
# ~/.bashrc
#
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
# PS1='[\u@\h \W]\$ ' original PS1
# PS1="\[\033[35m\]\t\[\033[m\]-\[\033[36m\]\u\[\033[m\]@\[\033[32m\]\h:\[\033[33;1m\]\w\[\033[m\]\$ " old PS1
# Set prompt using vim-promptline file
#[[ -f ~/.shell_prompt.sh ]] && . ~/.shell_prompt.sh
#
#if [ -e /usr/share/terminfo/x/xterm-256color ]; then
# export TERM='xterm-256color'
#else
# export TERM='xterm-color'
#fi
# Load Liquid Prompt in interactive shells
[[ $- = *i* ]] && source ~/git/dotfiles/liquidprompt/liquidprompt
# Pull in .bash_aliases if it exists
[[ -f ~/.bash_aliases ]] && . ~/.bash_aliases
# Pull in .bash_functions if it exists
[[ -f ~/.bash_functions ]] && . ~/.bash_functions
# Pull in /etc/bash.colors if it exists
[[ -f /etc/bash.colors ]] && . /etc/bash.colors
d=.dircolors
test -r $d && eval "$(dircolors $d)"
GIT_EDITOR='vim'
export GIT_EDITOR
EDITOR='vim'
export EDITOR
#VISUAL='gvim'
#export VISUAL
ANDROID_HOME='/opt/android-sdk'
export ANDROID_HOME
ANDROID_NDK_HOME='/opt/android-ndk'
export ANDROID_NDK_HOME
# Colorize Man Pages
man() {
env LESS_TERMCAP_mb=$'\E[01;31m' \
LESS_TERMCAP_md=$'\E[01;38;5;74m' \
LESS_TERMCAP_me=$'\E[0m' \
LESS_TERMCAP_se=$'\E[0m' \
LESS_TERMCAP_so=$'\E[38;5;246m' \
LESS_TERMCAP_ue=$'\E[0m' \
LESS_TERMCAP_us=$'\E[04;38;5;146m' \
man "$@"
}
# Set 'command not found' hook
. /usr/share/doc/pkgfile/command-not-found.bash
# Make LibreOffice a little prettier
export SAL_USE_VCLPLUGIN=gtk3 lowriter
# Enable DRI video acceleration
export LIBVA_DRIVER_NAME=vdpau
export VDPAU_DRIVER=r600
# Add RubyGems to PATH
export PATH=$PATH:"`ruby -e 'puts Gem.user_dir'`/bin"
# export CTM="--colorize --https --email howardad@gmail.com --password PM8dyJctyV"
# RVM
export PATH="$PATH:$HOME/.rvm/bin" # Add RVM to PATH for scripting
[[ -r "$HOME/.rvm/scripts/completion" ]] && source "$HOME/.rvm/scripts/completion"
# Add TeX to PATH
export PATH=$PATH:"/home/adam/texlive/2014/bin/x86_64-linux"
export PATH="$PATH:$HOME/.rvm/bin" # Add RVM to PATH for scripting
#doge