muhyb@programming.dev to linuxmasterrace@feddit.deEnglish · 2 years agoFirst time installing a distro that came with zsh instead of bashi.imgur.comimagemessage-square67linkfedilinkarrow-up1188arrow-down15file-text
arrow-up1183arrow-down1imageFirst time installing a distro that came with zsh instead of bashi.imgur.commuhyb@programming.dev to linuxmasterrace@feddit.deEnglish · 2 years agomessage-square67linkfedilinkfile-text
minus-squareargv_minus_one@beehaw.orgBannedlinkfedilinkEnglisharrow-up9·2 years agoThen you’re likely to enter a command by accident. I would consider that a dangerous misfeature and look to turn it off.
minus-squareStill@programming.devlinkfedilinkEnglisharrow-up4·2 years agonot really tab complete puts a / at the end of autocd directories
minus-squareargv_minus_one@beehaw.orgBannedlinkfedilinkEnglisharrow-up4·2 years agoCan you not type in the name of the hazardous folder yourself? I’m envisioning trying to autocd into a folder named reboot or something.
minus-squareargv_minus_one@beehaw.orgBannedlinkfedilinkEnglisharrow-up1·edit-22 years agoDoes autocd not work without a slash at the end?
minus-squareStill@programming.devlinkfedilinkEnglisharrow-up2·2 years agoit does but if you had a file called reboot tab complete would complete the reboot command and not put the slash thwre, adding the slash specifies that it’s a directory
minus-squareGamma@programming.devlinkfedilinkEnglisharrow-up3·2 years agoI’ve got syntax highlighting enabked, so I always notice the different color when I type a commnand.
Then you’re likely to enter a command by accident. I would consider that a dangerous misfeature and look to turn it off.
not really tab complete puts a / at the end of autocd directories
Can you not type in the name of the hazardous folder yourself? I’m envisioning trying to autocd into a folder named
reboot
or something.then you would type
reboot/
Does autocd not work without a slash at the end?
it does but if you had a file called reboot tab complete would complete the reboot command and not put the slash thwre, adding the slash specifies that it’s a directory
I’ve got syntax highlighting enabked, so I always notice the different color when I type a commnand.