I am using bash 4.3 [on debian jessie 8.5, kernel 3.16.7-ckt25-2].
I am opening a console window (with xfce4) or a ssh session and enter shell commands. Sometimes later, shellexpansion stops working. Example:
ls /usr/lib/u* ls: cannot access /usr/lib/u*: No such file or directory
Opening a new session (ssh in this case) and doing the same:
-rwxr-xr-x 1 root root 1328 Sep 30 2014 udisks2-inhibit*
I compared the
BASHOPTS (in the output of
set) in both sessions show any differences. This happen very often, so I have really to get rid of it.
But. after digging deeper, I found an alias like this, which caused it:
alias di='set -f; /ops/tools/di'
So, my final question is: How do I come to the same result, without
making the "-f" permanent (I even don't find, where this is saved).
SHOPT's are not the place.
Any help, pointers or further information are really welcome!