Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

There is a "strange" autocomplete function in my macbook. If I try to type "ps -aux" in terminal (iTerm or TotalTerminal) with the hit of "s" in ps, automatically this happens:

"ps -p $$
# Tells the shell what you are using"

There is no alias stored in .bashrc or .zshrc. Which program could run this autocomplete? The "funny" thing is, when I type this, also here in this window, the autocomplete apears.

Any suggestions, ideas?


10.9.2 (13C32) Development version.

But with 10.9.1 was the same.

This autocomplete start immediately in Search, in Alfred, in Notes, in Numbers, in R(!) ...

The combination of "p" and "s" produces -without "Enter": "ps -p $$

Tells the shell what you are using"

There must be a location/config-file ...

The challenge is: Find the file/location which stores this command/autocomplete.

share|improve this question
1  
Does it also appear when you type in a text shell outside the XWindows environment --- if that is possible on OSX? Under Linux you can reach these virtual terminals using e.g. ctrl-alt-F1. –  Marcus Rickert Dec 22 '13 at 10:57
    
I run OS X (10.9.2) –  user2802772 Dec 23 '13 at 0:32
    
Out of curiosity, how do you have 10.9.2? Are you running a beta version? I have 10.9.1 and seem to be totally up to date. Did this happen only with the upgrade to 10.9.2? –  alex keil Dec 24 '13 at 5:02
    
OK. As I found out OSX does not seem to have text (or "virtual") terminals. So you cannot test what I suggested. Sorry about. What about logging into the machine from the outside? Does this generate the same effect? –  Marcus Rickert Dec 26 '13 at 1:10
2  
The reason and solution: Dash (kapeli.com/dash). Dash autocompletes stored snippets! puh. –  user2802772 Dec 30 '13 at 1:35

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.