bashsupport-pro
bashsupport-pro copied to clipboard
Variables with unset Cannot Be Auto-Completed
Code outside function
aaa=q
echo
When you type $a after echo , BSP will show $aaa
GOOD
If you do this first:
aaa=q
echo
unset aaa
When you type $a after echo , BSP will show $aaa
GOOD
Code inside function
f1(){
aaa=q
echo
}
When you type $a after echo , BSP will show $aaa
GOOD
If you do this first:
f1(){
aaa=q
echo
unset aaa
}
When you type $a after echo , BSP will NOT show $aaa
BAD