RomulusCornflakes@lemmy.world to linuxmemes@lemmy.worldEnglish · edit-223 hours agoThe Minefieldlemmy.worldimagemessage-square58fedilinkarrow-up1292
arrow-up1292imageThe Minefieldlemmy.worldRomulusCornflakes@lemmy.world to linuxmemes@lemmy.worldEnglish · edit-223 hours agomessage-square58fedilink
minus-squareSavvyWolf@pawb.sociallinkfedilinkEnglisharrow-up17·13 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·8 hours agoI mean, you can just write a whole custom shell for this
minus-squareSasquatch@lemmy.mllinkfedilinkarrow-up4·10 hours agoit could just reinvoke $SHELL in the parent dir
minus-squareglibg10b@lemmy.ziplinkfedilinkarrow-up5·11 hours agoTechnically they could if run as root by modifying the parent process
minus-squaretyler@programming.devlinkfedilinkarrow-up2·11 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.