43 votes

git auto-complete for *branches* at the command line?

Run this on terminal: curl https://raw.githubusercontent.com/git/git/master/contrib/completion/git-completion.bash -o ~/.git-completion.bash Then, do this: vi ~/.bash_profile Add this lines: if [ ...
Caique Pereira's user avatar
29 votes

git auto-complete for *branches* at the command line?

git and git-completion.bash already come with macOS command line tools (xcode-select --install). To enable bash autocomplete, add this to your ~/.bash_profile. [ -f /Library/Developer/CommandLineTools/...
Harsh Vakharia's user avatar
26 votes

git auto-complete for *branches* at the command line?

Git autocompletion on Catalina and newer (using Homebrew) macOs changed from bash to zsh as default shell starting with Catalina. So you will need specific autocomplete scripts for zsh. Here is how to ...
Jpsy's user avatar
  • 2,437
23 votes
Accepted

How to make the terminal auto-complete from the command history?

You may use reverse-search. Just press ctrl+R and start typing your command, and then just press Enter.
Denis Burtsev's user avatar
17 votes

Turn on Text Replacement, Chrome?

This is currently not possible because Chrome does few things its own way. Here is the bug that tracks this https://bugs.chromium.org/p/chromium/issues/detail?id=42434 Still if you dream about ...
sorin's user avatar
  • 29.5k
8 votes

git auto-complete for *branches* at the command line?

Here's what's confusing some of you: you have brew or ports installed, but you are using an the system git in /usr/bin/. To check this: which git If you see /usr/bin/git then either brew isn't ...
Brandon's user avatar
  • 81
8 votes

Autocomplete for MacOS

This has been possible for some time on macOS (since 10.6), just hidden. In almost any text field or app you are typing text into you can hit F5 or Opt+Esc to bring up the equivalent of the iOS ...
kenjikato's user avatar
  • 1,634
7 votes

How to make the terminal auto-complete from the command history?

Bind key to history-search For searching lines starting with the typed, as you read in Macworld article, you can add the keybindings, for example: Up key bound to history-search-backward Down key ...
hc_dev's user avatar
  • 180
6 votes
Accepted

How do I prevent my Mac from autocorrecting my username?

Type your name, right click and pick "Learn Spelling".
joels's user avatar
  • 198
6 votes
Accepted

How can I remove specific top hits in Safari's address bar?

It's actually not possible to remove the root domain from Safari's top hits. I've always had this problem and find it irritating. As seen, I've never visited Apple's US website, but only the SG site. ...
Panda's user avatar
  • 1,332
6 votes

How to disable autocomplete on macOS but not iOS?

Explanation The text replacements in System Preferences > Keyboard > Text (macOS) and Settings > General > Keyboard > Text Replacement (iOS) are tightly integrated into iCloud. In ...
oa-'s user avatar
  • 7,706
6 votes
Accepted

How do I remove an autocomplete suggestion from mobile Safari's address bar?

Remove it from your history. Search for it in Safari history and then delete them one at a time. Unfortunately clicking "clear", even while looking at search results, clears all history ...
theonlygusti's user avatar
  • 8,602
5 votes

How can I remove specific top hits in Safari's address bar?

After brainstorming for days, I finally managed to find a solution. Putting it here since it may help others. Clearing history on one or all your devices doesn't help. All you need to do is show your ...
JaunRizvi's user avatar
5 votes

How to make the terminal auto-complete from the command history?

You may refer to auto suggestion. And for zsh user, zsh-autosuggestions will be very helpful.
yue huang's user avatar
4 votes

Autocomplete for MacOS

I developed an English Input Method for macOS. Download the pkg file and install it: https://pan.baidu.com/s/1jIxckfW http://blog.csdn.net/lwl_ls/article/details/8564940 please contact 086 ...
user2281081's user avatar
4 votes
Accepted

How to remove autocomplete (autofill) entries from Chrome? (Shift+Fn+Delete doesn't work)

If you're seeing within Chrome that Shift+Fn+Delete isn't working, it may be that you have a bookmark for that link. You have to delete the bookmark to remove it from the suggestion list.
Triplell89's user avatar
3 votes

Terminal/iTerm Autocomplete "greyed" functionality?

There is also a plugin for oh-my-zsh: https://github.com/zsh-users/zsh-autosuggestions. It explicitly aims at Fish-like functionality.
Jeff Fairley's user avatar
3 votes
Accepted

How do I prevent autocorrection to change part of my email address

Add "fredsmith" to the OS X dictionary by right-clicking or Ctrl-clicking on it when underlined in red and selecting "Add to Dictionary".
Mike Scott's user avatar
  • 10.5k
3 votes
Accepted

Making Terminal bash auto-complete stop at ambiguous character and display all possible options

Thanks to comment from mtklr. Many web pages that talk about Mac OS X Terminal auto-complete asks you to add the 3 lines I mention in my question. But if you want behavior as on say Ubuntu, you need ...
akarollil's user avatar
  • 161
3 votes

git auto-complete for *branches* at the command line?

For macOS Catalina+, in zsh: curl https://raw.githubusercontent.com/git/git/master/contrib/completion/git-completion.zsh -o ~/.git-completion.zsh Then update your ~/.zshrc with: if [ -f ~/.git-...
NonCreature0714's user avatar
3 votes
Accepted

How to stop instagram app remembering / auto-filling in username at login screen, when not yet logged in

Navigate to Instagram app → Profile → Settings → scroll down to Privacy & Security → Saved Login Info → Turn it off.
LpsAthens on IG's user avatar
3 votes
Accepted

Emoji search in non-iMessage apps

Bafflingly, this was the answer: https://www.idownloadblog.com/2017/11/15/how-to-fix-predictive-emoji-not-working-iphone-ipad/ Apparently, the algorithm for recommendation for emoji replacement is ...
Mittenchops's user avatar
3 votes
Accepted

How to remove emoji autocomplete suggestions?

This is untested but I did find this method for disabling emojis in the Messages app. NOTE: In any applications where emojis are supported you should find a similar item under that app's Edit → ...
slm's user avatar
  • 4,698
3 votes
Accepted

Is that possible to let terminal update autocomplete for new executable files in path automatically?

The issue is that the new command is not been entered into the hash table that zsh that maps commands to the full name. The command hash table is built when you first attempt a command in a new shell ...
mmmmmm's user avatar
  • 29.8k
2 votes

git auto-complete for *branches* at the command line?

By far, the best reference I've found to solve this very issue is on SpinDance, by Connor Livingston: If the git-completion.bash script doesn’t exist on your machine, please retrieve it from the link ...
ravegasaenz's user avatar
2 votes

git auto-complete for *branches* at the command line?

If your git completion is partially broken, even after sourcing https://raw.githubusercontent.com/git/git/master/contrib/completion/git-completion.bash, you may just need to update your git version. ...
wisbucky's user avatar
  • 5,017
2 votes

git auto-complete for *branches* at the command line?

Tried it and it works well for branches but when you do git st + tab then it shows the error like this unknown option: --list-cmds=list-mainporcelain,others,nohelpers,alias,list-complete,config ...
Inder Kumar Rathore's user avatar
2 votes

How to stop instagram app remembering / auto-filling in username at login screen, when not yet logged in

Tap on Instagram app>open app info >clear data this will remove your autofill username in Instagram account
Isha's user avatar
  • 21
2 votes

How to stop instagram app remembering / auto-filling in username at login screen, when not yet logged in

If nothing else works, log out of your Facebook account! This worked for me when nothing else did.
Sharon's user avatar
  • 21
2 votes

Is there a feature or trick to automatically substitute or expand abbreviations to full phrases?

Yes, it's built into the system [& can also share with any iOS devices you may have] System Prefs > Keyboard > Text There are a few there to start you off - if you don't want them, select & ...
Tetsujin's user avatar
  • 114k

Only top scored, non community-wiki answers of a minimum length are eligible