forked from sontek/homies
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_bashrc
More file actions
45 lines (35 loc) · 1.21 KB
/
Copy path_bashrc
File metadata and controls
45 lines (35 loc) · 1.21 KB
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
# Check for an interactive session
[ -z "$PS1" ] && return
HISTSIZE=40000
# try to open a screen session
#[ -z "$STY" ] && exec screen
#if [ $TERM -eq "xterm" ] then
# exec /usr/bin/screen
#fi
#
alias ls='ls --color=auto'
alias la='ls -a --color=auto'
PS1='[\u@\h \W]\$ '
##alias tc='sudo truecrypt'
##alias tcm='tc --fs-options="uid=$(id -u),gid=$(id -g)"'
alias tcc="truecrypt ~/crypt.lappy /mnt/crypt"
alias kk="konsole -e screen"
alias units="units -v"
#PYTHONSTARTUP="/home/lanzaa/.pythonrc.py"
export EDITOR="/usr/bin/vim"
export SVN_EDITOR="/usr/bin/vim"
# screen related
# from: http://dev-loki.blogspot.com/2010/05/gnu-screen-open-new-window-with-same.html
function dupscreen {
screen bash -c "cd \"$PWD\" && exec $SHELL" # --login"
}
alias ,d=dupscreen
# git related
alias gs="git status ."
alias todo='pushd ~/todo\&ideas/; vim todo.md; git commit -a; popd;'
## use Ctrl-x-e to open editor for current line
export PERL_LOCAL_LIB_ROOT="/home/lanzaa/perl5";
export PERL_MB_OPT="--install_base /home/lanzaa/perl5";
export PERL_MM_OPT="INSTALL_BASE=/home/lanzaa/perl5";
export PERL5LIB="/home/lanzaa/perl5/lib/perl5/x86_64-linux-thread-multi:/home/lanzaa/perl5/lib/perl5";
export PATH="/home/lanzaa/perl5/bin:$PATH";