Created attachment 1241240 [details]
bash_profile for user test on Fedora 25
Description of the problem:
Not listing bash scripts from $HOME/bin
Machine: HP xw4600 Workstation
OS: Fedora 25
Version-Release number of selected component (if applicable):
Steps to Reproduce:
0. There is a bash script in /home/test/bin/testing_loop.sh
1. Log in as user test LOCALLY, not remotely.
2. Open a terminal.
3. Try to type the name of the script testing[TAB]
The bug appears. The auto completion does not find the bash script.
4. Type the script's name without its full path: testing_loop.sh
The script is not found.
The bash shell does not find the bash script which is in $HOME/bin
The bash shell starts any bash script which is in $HOME/bin, which has execution permissions.
User: test User ID: 1000
Script: -rwxrwxr-x 1 test test 1985 Jan 16 11:15 /home/test/bin/testing_loop.sh
What is the actual contents of the PATH environment variable?
$ echo $PATH
How are you confirming that your bash_profile script is actually used?
Does it work after you source it manually?
Which terminal are you using?
Do you know which parameters the terminal starts bash with?
Note that according to bash(1) man page ~/.bash_profile is executed for login shells only...
Excuses for my late response.
Now, when I log in locally, not via SSH, everything is fine.
Not sure what was the reason, but now the bug does not appear.
I checked the kernel version, bash, and gnome-shell and they have the same versions:
We can close this case.