This file contains hidden or 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
| env ARCHFLAGS="-arch x86_64" gem install mysql -- --with-mysql-config=/opt/local/bin/mysql_config5 |
This file contains hidden or 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
| do you ever try to edit some shit, like /etc/hosts or some apache | |
| config, and forget to sudo? and then you have to f-ing exit vim and | |
| re-run the command with sudo out in front of it? i hate that shit. | |
| so here's a way to deal with that. | |
| 1. install the sudo.vim plugin | |
| mkdir -p ~/.vim/plugin && cd ~/.vim/plugin \ | |
| && curl -o sudo.vim \ | |
| 'http://www.vim.org/scripts/download_script.php?src_id=3477' |
NewerOlder