-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbashrc.thinkpad
More file actions
35 lines (27 loc) · 854 Bytes
/
bashrc.thinkpad
File metadata and controls
35 lines (27 loc) · 854 Bytes
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
# .bashrc
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
# Uncomment the following line if you don't like systemctl's auto-paging feature:
# export SYSTEMD_PAGER=
black="$(tput setaf 0)"
red="$(tput setaf 1)"
green="$(tput setaf 2)"
yellow="$(tput setaf 3)"
blue="$(tput setaf 4)"
magenta="$(tput setaf 5)"
cyan="$(tput setaf 6)"
white="$(tput setaf 7)"
reset="$(tput sgr0)"
export PS1='\[$white\][\[$blue\]\u\[$white\]@\h \W]\$ \[$reset\]'
# User specific aliases and functions
setconda() {
# added by Miniconda3 installer
export PATH="/home/ajaisingh/miniconda3/bin:$PATH"
}
export PATH="$PATH:~/manually-installed/bin"
export MANPATH="$MANPATH:~/manually-installed/share/man/"
# Enable git prompt
source ~/.bash/git-prompt.sh
export PS1='\[$white\][\[$blue\]\u\[$white\]@\h \W]$(__git_ps1 " (%s)")\$ \[$reset\]'