RomulusCornflakes@lemmy.world to linuxmemes@lemmy.worldEnglish · edit-218 hours agoThe Minefieldlemmy.worldimagemessage-square58fedilinkarrow-up1278arrow-down14
arrow-up1274arrow-down1imageThe Minefieldlemmy.worldRomulusCornflakes@lemmy.world to linuxmemes@lemmy.worldEnglish · edit-218 hours agomessage-square58fedilink
minus-squareSavvyWolf@pawb.sociallinkfedilinkEnglisharrow-up14·8 hours agoReminder that binaries cannot change a shell’s working directory, so the non-mines will do nothing. (cd is a shell builtin)
minus-squareBetterDev@programming.devlinkfedilinkarrow-up3·3 hours agoI mean, you can just write a whole custom shell for this
minus-squareglibg10b@lemmy.ziplinkfedilinkarrow-up5·6 hours agoTechnically they could if run as root by modifying the parent process
minus-squareSasquatch@lemmy.mllinkfedilinkarrow-up3·5 hours agoit could just reinvoke $SHELL in the parent dir
minus-squaretyler@programming.devlinkfedilinkarrow-up2·6 hours agoGood point. Also it wouldn’t stop you from just opening another terminal window haha.
Reminder that binaries cannot change a shell’s working directory, so the non-mines will do nothing.
(
cdis a shell builtin)I mean, you can just write a whole custom shell for this
Technically they could if run as root by modifying the parent process
it could just reinvoke
$SHELLin the parent dirGood point. Also it wouldn’t stop you from just opening another terminal window haha.