fixed up the ssh_agent fixer. updated some of the debian stuff.

This commit is contained in:
Ivan Malison 2013-03-31 22:22:56 +00:00
parent caf785b53b
commit da4104da8d
6 changed files with 85 additions and 102 deletions

15
.debian
View File

@ -1,16 +1,5 @@
sudo -v INSTALL="sudo apt-get -y install"
INSTALL="apt-get -y install"
$INSTALL zsh $INSTALL zsh
$INSTALL tmux $INSTALL tmux
$INSTALL emacs $INSTALL emacs24-nox
$INSTALL nmap $INSTALL nmap
$INSTALL readline
# python dependencies
$INSTALL libreadline5-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev
cd ~/Downloads
wget http://python.org/ftp/python/2.7.2/Python-2.7.2.tgz
tar -xvf Python-2.7.2.tgz && cd Python-2.7.2/
./configure
make
sudo make altinstall

View File

@ -22,9 +22,3 @@ export MANPAGER="less -X"
git config --global user.name "Ivan Malison" git config --global user.name "Ivan Malison"
git config --global user.email IvanMalison@gmail.com git config --global user.email IvanMalison@gmail.com
# EC2 stuff.
export JAVA_HOME="$(/usr/libexec/java_home)"
export EC2_PRIVATE_KEY="$(/bin/ls "$HOME"/.ec2/pk-*.pem | /usr/bin/head -1)"
export EC2_CERT="$(/bin/ls "$HOME"/.ec2/cert-*.pem | /usr/bin/head -1)"
export EC2_HOME="/usr/local/Library/LinkedKegs/ec2-api-tools/jars"

View File

@ -1,4 +1,10 @@
source ~/ssh-find-agent/ssh-find-agent.bash find_all_ssh_agent_sockets() {
find /tmp -type s -name agent.\* 2> /dev/null | grep '/tmp/ssh-.*/agent.*'
}
set_ssh_agent_socket() {
export SSH_AUTH_SOCK=$(find_all_ssh_agent_sockets | tail -n 1 | awk -F: '{print $1}')
}
# Simple calculator # Simple calculator
function calc() { function calc() {

3
.gitmodules vendored
View File

@ -7,6 +7,3 @@
[submodule "oh-my-zsh"] [submodule "oh-my-zsh"]
path = oh-my-zsh path = oh-my-zsh
url = git@github.com:IvanMalison/oh-my-zsh.git url = git@github.com:IvanMalison/oh-my-zsh.git
[submodule "ssh-find-agent"]
path = ssh-find-agent
url = git@github.com:wwalker/ssh-find-agent.git

View File

@ -52,8 +52,6 @@ function install_python_packages() {
} }
sudo -v
[ "$1" == "--install" -o "$1" == "-i" ] && echo "Installing essential files." && install_essentials
echo "Installing Dot Files." echo "Installing Dot Files."
source bootstrap.sh source bootstrap.sh
echo "Installing Tmux Configuration." echo "Installing Tmux Configuration."

@ -1 +0,0 @@
Subproject commit ecb780effadc3e95e5e5b9997448294f784def96