~xdavidwu/dotfiles

0fb47247ffcf055ab6b0bef4b2bf3b2c2e775a11 — xdavidwu 2 years ago 1580d2f
bash: windows: execignore *.!(exe)
1 files changed, 2 insertions(+), 1 deletions(-)

M .bashrc
M .bashrc => .bashrc +2 -1
@@ 5,7 5,7 @@
# If not running interactively, don't do anything
[[ $- != *i* ]] && return

shopt -s histappend
shopt -s histappend extglob
set +H

# sanitize


@@ 14,6 14,7 @@ unset _GCOMPAT_PRELOAD
if [ "$OSTYPE" = msys ]; then
	export LC_ALL=zh_TW.UTF-8
	PATH="/usr/bin:/bin:/mingw64/bin:$PATH"
	EXECIGNORE="*.!(exe)"
elif [ "$OSTYPE" = "linux-musl" ]; then
	_GCOMPAT_PRELOAD="LD_PRELOAD=/lib/libgcompat.so.0"
fi