Bash-completion is very slow on MSYS2 when the current user is a domain user. This describes the cause and the solutions.
Expansion of ~*
is very slow when you use a domain user. For example:
#!/bin/bash | |
##################################################### | |
# Name: Bash CheatSheet for Mac OSX | |
# | |
# A little overlook of the Bash basics | |
# | |
# Usage: | |
# | |
# Author: J. Le Coupanec | |
# Date: 2014/11/04 |
############################# Bash CheatSheet Printable ############################### | |
# | |
# Based on https://gist.github.com/LeCoupa/122b12050f5fb267e75f | |
# Removed the more common ones, and added some examples. Also reformatted for easier printing. | |
# 0 Shortcuts. | |
CTRL+A # move to beginning of line | |
CTRL+B # moves backward one character | |
ALT+B # moves backward one word | |
CTRL+C # halts the current command |