RomulusCornflakes@lemmy.world to linuxmemes@lemmy.worldEnglish · 1 day agoThe Minefieldlemmy.worldimagemessage-square60linkfedilinkarrow-up11arrow-down10
arrow-up11arrow-down1imageThe Minefieldlemmy.worldRomulusCornflakes@lemmy.world to linuxmemes@lemmy.worldEnglish · 1 day agomessage-square60linkfedilink
minus-squareSavvyWolf@pawb.sociallinkfedilinkEnglisharrow-up0·22 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-up0·17 hours agoI mean, you can just write a whole custom shell for this
minus-squareSasquatch@lemmy.mllinkfedilinkarrow-up0·20 hours agoit could just reinvoke $SHELL in the parent dir
minus-squareglibg10b@lemmy.ziplinkfedilinkarrow-up0·20 hours agoTechnically they could if run as root by modifying the parent process
minus-squaretyler@programming.devlinkfedilinkarrow-up0·21 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.