muhyb@programming.dev to linuxmasterrace@feddit.deEnglish · 1 year agoFirst time installing a distro that came with zsh instead of bashi.imgur.comimagemessage-square67fedilinkarrow-up1189arrow-down14file-text
arrow-up1185arrow-down1imageFirst time installing a distro that came with zsh instead of bashi.imgur.commuhyb@programming.dev to linuxmasterrace@feddit.deEnglish · 1 year agomessage-square67fedilinkfile-text
minus-squareargv_minus_one@beehaw.orglinkfedilinkEnglisharrow-up9·1 year 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·1 year agonot really tab complete puts a / at the end of autocd directories
minus-squareargv_minus_one@beehaw.orglinkfedilinkEnglisharrow-up4·1 year 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.orglinkfedilinkEnglisharrow-up1·edit-21 year agoDoes autocd not work without a slash at the end?
minus-squareStill@programming.devlinkfedilinkEnglisharrow-up2·1 year 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·1 year 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.