-
Notifications
You must be signed in to change notification settings - Fork 0
/
.bashrc
45 lines (36 loc) · 1.54 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
alias canhaz='sudo aptitude install'
alias ls='ls --color --group-directories-first'
alias la='ls -A'
alias ll='ls -h -lv --group-directories-first'
alias lll='ls -A -h -lv --group-directories-first'
alias df='df -kTh'
alias du='du -hk'
alias h='history'
alias path='echo -e ${PATH//:/\\n}'
alias libpath='echo -e ${LD_LIBRARY_PATH//:/\\n}'
alias so=source
alias tree='tree -Csuh' # You'll need to get tree for this one
alias ..='cd ..'
alias home='cd ~'
alias vimrc='vim ~/.vimrc'
alias bashrc='vim ~/.bashrc'
alias oci='rlwrap ocaml'
alias zipldi='zip tjd2qj.zip *.py good.cl bad.cl readme.txt && cp tjd2qj.zip /mnt/hgfs/Mint/Shared/'
# Bookmarks are cool, but normally I forget to use them
#source ~/.local/bin/bashmarks.sh
#~/configs/cowscript.sh | lolcat -F 0.004
# fortune | cowsay -f dragon-and-cow;echo # Also requires fortune and cowsay
function ff() { find . -type f -iname '*'"$*"'*' ; }
function cdfunct() { cd "$1"; ls; }
alias cd=cdfunct
alias pkgfind='pkg-config --list-all | grep'
# added by Anaconda3 2.1.0 installer
#export PATH="/home/travis/anaconda3/bin:$PATH"
#export PATH=$PATH:~/apps/MatlabInstall/bin
#export PS1="\e[01;35m \w \$ \e[m"
export PS1="\[\033[38;5;140m\]\w\[$(tput sgr0)\]\[\033[38;5;15m\] \[$(tput sgr0)\]\[\033[38;5;140m\]>\[$(tput sgr0)\]\[\033[38;5;15m\] \[$(tput sgr0)\]"
#export PREFIX="~/git-gimp"
#export PATH="$PREFIX/bin:$PATH"
#export PKG_CONFIG_PATH="$PREFIX/lib/pkgconfig:$PKG_CONFIG_PATH"
#export LD_LIBRARY_PATH="$PREFIX/lib:$LD_LIBRARY_PATH"
#export ACLOCAL_FLAGS="-I $PREFIX/share/aclocal $ACLOCAL_FLAGS"