You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using tab autocomplete, how can I fix the bash completion so it’ll maintain the “~” instead of expanding the tilde, outputting the full home directory path name.
Running: Linux RedHat CentOS | Bash
Expected Behavior:
$ ~/Fol<TAB>
$ ~/Folder
Current Behavior:
$ ~/Fol<TAB>
$ /home/users/username/Folder
If there are common parts, the tilde appears in the FZF selection menu but once an option is chosen, the tilde is not preserved; instead it outputs the full expanded path.
Please provide a quick fix or point me to where I can alter this behavior; it’s frustrating when dealing with shared VMs and long path names.
The text was updated successfully, but these errors were encountered:
Unfortunately I am unable to reproduce this issue. The tilde is preserved when I do the bash tab completion.
You may have to try debug this yourself by adding some set -x to the script to see where it is going wrong.
When using tab autocomplete, how can I fix the bash completion so it’ll maintain the “~” instead of expanding the tilde, outputting the full home directory path name.
Running: Linux RedHat CentOS | Bash
If there are common parts, the tilde appears in the FZF selection menu but once an option is chosen, the tilde is not preserved; instead it outputs the full expanded path.
Please provide a quick fix or point me to where I can alter this behavior; it’s frustrating when dealing with shared VMs and long path names.
The text was updated successfully, but these errors were encountered: