RomulusCornflakes@lemmy.world to linuxmemes@lemmy.worldEnglish · edit-221 hours agoThe Minefieldlemmy.worldimagemessage-square58fedilinkarrow-up1285arrow-down14
arrow-up1281arrow-down1imageThe Minefieldlemmy.worldRomulusCornflakes@lemmy.world to linuxmemes@lemmy.worldEnglish · edit-221 hours agomessage-square58fedilink
minus-squareSavvyWolf@pawb.sociallinkfedilinkEnglisharrow-up16·11 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·5 hours agoI mean, you can just write a whole custom shell for this
minus-squareSasquatch@lemmy.mllinkfedilinkarrow-up3·8 hours agoit could just reinvoke $SHELL in the parent dir
minus-squareglibg10b@lemmy.ziplinkfedilinkarrow-up4·8 hours agoTechnically they could if run as root by modifying the parent process
minus-squaretyler@programming.devlinkfedilinkarrow-up2·9 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
it could just reinvoke
$SHELLin the parent dirTechnically they could if run as root by modifying the parent process
Good point. Also it wouldn’t stop you from just opening another terminal window haha.