1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2025-07-03 08:39:25 +00:00

Initial implementation of a new plugin system, so that people can managed which aliases/functions they want.

This commit is contained in:
Robby Russell
2010-06-03 12:03:26 -07:00
parent 073d75e490
commit 210a72b441
9 changed files with 69 additions and 64 deletions

View File

@ -54,24 +54,3 @@ function take() {
cd $1
}
function tm() {
cd $1
mate $1
}
# To use: add a .lighthouse file into your directory with the URL to the
# individual project. For example:
# https://rails.lighthouseapp.com/projects/8994
# Example usage: http://screencast.com/t/ZDgwNDUwNT
open_lighthouse_ticket () {
if [ ! -f .lighthouse-url ]; then
echo "There is no .lighthouse file in the current directory..."
return 0;
else
lighthouse_url=$(cat .lighthouse-url);
echo "Opening ticket #$1";
`open $lighthouse_url/tickets/$1`;
fi
}
alias lho='open_lighthouse_ticket'