Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:mattmcmanus/dotfiles
* 'master' of github.com:mattmcmanus/dotfiles: Fixing an error for bash completion Added symfony bash completion Fixing type Updated w2h helper script and added new node_env variable Added two new helper scripts Added RVM to path Moved macports export to exports file SVN aliases Disabling animations in finder Path and osx tweaks Tweaking the prompt
- Loading branch information
Showing
11 changed files
with
89 additions
and
11 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Bash symfony completion | ||
# | ||
_symfony() | ||
{ | ||
local cmds cur colonprefixes | ||
|
||
cmds="$( ${COMP_WORDS[0]} | perl -ne 'if( /^([a-zA-Z0-9\-]+)/ ) { $first = $1; } elsif ( /^\s*(:[a-zA-Z0-9\-]+)/ ) { print $first . $1 . "\n"; }' )" | ||
COMPREPLY=() | ||
cur=${COMP_WORDS[COMP_CWORD]} | ||
# Work-around bash_completion issue where bash interprets a colon as a separator. | ||
# Work-around borrowed from the darcs work-around for the same issue. | ||
colonprefixes=${cur%"${cur##*:}"} | ||
COMPREPLY=( $(compgen -W '$cmds' -- $cur)) | ||
local i=${#COMPREPLY[*]} | ||
while [ $((--i)) -ge 0 ]; do | ||
COMPREPLY[$i]=${COMPREPLY[$i]#"$colonprefixes"} | ||
done | ||
|
||
return 0 | ||
} && | ||
complete -F _symfony symfony |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/sh | ||
|
||
sudo apachectl start | ||
sudo /opt/local/bin/mysqld_safe5 |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/sh | ||
|
||
sudo apachectl stop | ||
sudo /opt/local/bin/mysqld_safe5 |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#!/bin/sh | ||
|
||
echo ' --> SVN Update' | ||
svn up -q | ||
|
||
echo ' --> W2H: Syncing Prod' | ||
./symfony w2h:sync-prod -q | ||
|
||
echo ' --> Doctrine: Migrate' | ||
./symfony doctrine:migrate -q | ||
|
||
echo ' --> Doctrine: Build all classes' | ||
./symfony doctrine:build --all-classes -q | ||
|
||
echo ' --> W2H: Project Permissions' | ||
./symfony project:permissions -q | ||
|
||
echo ' --> W2H: Cleaning Cache' | ||
./symfony cc -q | ||
|
||
echo '- - - - - - - - - - - - - - - - - - - - - - - -' | ||
echo ' COMPLETE. So clean, so fresh. GO TO WORK!' | ||
echo '- - - - - - - - - - - - - - - - - - - - - - - -' |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
[ -n "$PS1" ] && source ~/.bash_profile | ||
[ -n "$PS1" ] && source ~/.bash_profile | ||
PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
let g:netrw_dirhistmax =10 | ||
let g:netrw_dirhist_cnt =1 | ||
let g:netrw_dirhist_1='/opt/local/etc/php5' |