Created
November 29, 2011 08:33
-
-
Save hidsh/1404018 to your computer and use it in GitHub Desktop.
my simple ~/.profile
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!/bin/sh | |
### | |
### variables | |
### | |
export LANG=C | |
#export LANG=ja_JP.UTF-8 | |
export PC='host name' | |
### | |
### aliases | |
### | |
#alias emacs="emacs -display $REMOTEHOST:0.0 &" | |
alias kterm="kterm -display $REMOTEHOST:0.0 -sb &" | |
alias diff="diff -u0 -w" | |
### | |
### functions | |
### | |
xx() | |
{ | |
xdisp="--display $REMOTEHOST:0.0" | |
s="" | |
for arg in $*; do | |
s=$s" "$arg | |
done | |
LANG=C | |
$s $xdisp& | |
} | |
### | |
### proxy | |
### | |
export http_proxy=http://user:[email protected]:8080 | |
export ftp_proxy=http://user:[email protected]:8080 | |
### | |
### other customize | |
### | |
# disable C-s (stop) | |
stty stop undef | |
export LESS=-N | |
# ant proxy | |
export ANT_OPTS="-Dhttp.proxyHost=proxy.where.jp \ | |
-Dhttp.proxyPort=8080 \ | |
-Dhttp.proxyUser=user -Dhttp.proxyPassword=pass" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment