From aff769fd75225d8f2e481185a71d5e05b76002dc Mon Sep 17 00:00:00 2001 From: Nicolae Vartolomei Date: Tue, 7 Aug 2012 15:29:08 +0300 Subject: .bash_profile: Update `killall` Tab completion for OS X 10.8 --- .bash_profile | 2 +- .functions | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.bash_profile b/.bash_profile index a14416a..663e201 100644 --- a/.bash_profile +++ b/.bash_profile @@ -34,7 +34,7 @@ export LANG="en_US" complete -W "NSGlobalDomain" defaults # Add `killall` tab completion for common apps -complete -o "nospace" -W "Finder Dock Mail Safari iTunes iCal Address\ Book SystemUIServer" killall +complete -o "nospace" -W "Contacts Calendar Dock Finder Mail Safari iTunes SystemUIServer Terminal Twitter" killall # If possible, add tab completion for many more commands [ -f /etc/bash_completion ] && source /etc/bash_completion \ No newline at end of file diff --git a/.functions b/.functions index f35f483..931bbf7 100644 --- a/.functions +++ b/.functions @@ -34,7 +34,7 @@ function server() { function phpserver() { local port="${1:-4000}" local ip=$(ipconfig getifaddr en1) - sleep 1 && open "http://${ip}:${port}" & + sleep 1 && open "http://${ip}:${port}/" & php -S "${ip}:${port}" } -- cgit v1.2.3