markwallsgrove / ec2.cli

Generate SSH aliases for EC2 machines
3 stars 1 forks source link

Error in additions made to .zshrc on OSX #42

Closed russellhill closed 8 years ago

russellhill commented 8 years ago

At some point, this text is written into the .zshrc file:

export PATH="$PATH:$HOME/.ec2.cli"
script_dir=$(dirname $0)
if [ -f ~/.ec2.cli/completion.bash ]; then
    source ~/.ec2.cli/completion.bash
fi

This does not work due to the line with dirname, so maybe remove this as it doesn't seem to be referenced...

export PATH="$PATH:$HOME/.ec2.cli"
if [ -f ~/.ec2.cli/completion.bash ]; then
    source ~/.ec2.cli/completion.bash
fi