Gambit32 posted:Good god, how in the world to do I keep vim from making tmp/backup files of EVERYTHING i edit? What I have in my .vimrc: code:
|
|
# ¿ Mar 24, 2007 20:35 |
|
|
# ¿ Apr 27, 2024 20:45 |
Question: I have a directory with dozens of subdirectories containing a certain file type. I want to grep the entire directory structure for a certain word, but there are binary files I want to avoid searching. Normally I would do something like `grep -Hirn word *.ext', but the root directory doesn't contain a file with a .ext extension, so the grep stops in the root directory and is not recursive. Is there any way to fix this? EDIT: Nevermind found it! HIERARCHY OF WEEDZ fucked around with this message at 19:28 on Mar 31, 2007 |
|
# ¿ Mar 31, 2007 19:25 |
Where's a good place to learn about all the nuances and history regarding terminals and shells? I have a vague idea about them and use them, but I don't know the details about term types, 'termcap', escape characters, and how all of that works. I know that's a horribly vague request, but that's the problem - I don't know exactly what I'm looking for. EDIT: Okay, a specific thing that might illustrate my point. When I SSH into a system with TERM=xterm-256color and use zsh, hitting backspace causes the cursor to move forward and not remove any characters. I want to know why that is - not why that specific problem occurs, but everything surrounding and leading up to it.
|
|
# ¿ Oct 19, 2007 06:52 |
What's a good way, from some root directory, to remove all directories in that directory that DON'T contain any file of a certain extension?
|
|
# ¿ Jan 1, 2008 02:17 |
Thanks! I eventually ended up using find, and learning a lot more about it in the process -code:
|
|
# ¿ Jan 1, 2008 05:11 |
bitprophet posted:That's always the best outcome, IMHO glad it worked out for you! If find could take regex arguments (no idea) you could probably have consolidated that even further. It does but I didn't want to trust my data to the chance of a bad regex :-)
|
|
# ¿ Jan 1, 2008 10:37 |
EDIT: Look below for my question.
|
|
# ¿ Jan 26, 2008 03:49 |
I have a hosting account on Site5, which only allows a single shell user. I want to have multiple logins to a SVN repository, so I don't have to give out my user's password. I tried following various instructions to allow this, and they seem to work on the SVN side. I have an ~/.ssh/authorized_keys file that looks something like this:code:
code:
|
|
# ¿ Jan 26, 2008 03:49 |
|
|
# ¿ Apr 27, 2024 20:45 |
Often I find myself starting a long job in a shell, then wanting to do other things while it works. I can suspend it and start GNU screen, but that job doesn't show up in the new screen terminal, since it's attached to the first shell. Is there any way to move that job to one of the terminals in screen to resume it?
|
|
# ¿ Jul 1, 2008 17:47 |