-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbashrc-gentoo
52 lines (42 loc) · 1.57 KB
/
bashrc-gentoo
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
# /etc/skel/.bashrc
#
# This file is sourced by all *interactive* bash shells on startup,
# including some apparently interactive shells such as scp and rcp
# that can't tolerate any output. So make sure this doesn't display
# anything or bad things will happen !
# Test for an interactive shell. There is no need to set anything
# past this point for scp and rcp, and it's important to refrain from
# outputting anything in those cases.
if [[ $- != *i* ]] ; then
# Shell is non-interactive. Be done now!
return
fi
alias grep='grep --color=auto'
alias fgrep='fgrep --color=auto'
alias egrep='egrep --color=auto'
alias ll='ls -alF'
alias la='ls -A'
alias l='ls -CF'
alias screenx='export TERM=screen-256color && screen'
alias ssh='TERM=xterm && ssh'
alias twitvim='proxychains -q vim -c "FriendsTwitter"'
function wiki() { dig +short txt $1.wp.dg.cx; }
#export PATH=$PATH:$HOME/bin
export GTK_IM_MODULE=xim
export XMODIFIERS="@im=fcitx"
export XIM=fcitx
export XIM_PROGRAM=fcitx
#export PATH=$PATH:/sbin:/usr/sbin
export LANG="en_US.UTF-8"
export PS1='\[\033[01;32m\]\u@\h\[\033[01;34m\] \W \$\[\033[00m\] '
export EDITOR=vim
export VMAIL_BROWSER='w3m'
#export CPATH=$CPATH:/home/lykling/Programming/include
#export C_INCLUDE_PATH=$C_INCLUDE_PATH:/home/lykling/Programming/include
#export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/lykling/Programming/lib
#export LIBRARY_PATH=$LIBRARY_PATH:/home/lykling/Programming/lib
HISTFILESIZE=1000000
HISTSIZE=1000000
HOSTIGNORE="&:[ ]*"
export PATH=~/bin:/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.7.3
# Put your fun stuff here.