News for hackers. Stuff that matters.
Re:Which command did you run 1731 days ago? by gumby on Sunday January 21, 2024 @08:02AM (#39078071)
If you’re doing this for history value put it in a subshell so it doesn’t change your working directory in a confusing way:

    (cd ~/x/y/z && my-command)
Re:Which command did you run 1731 days ago? by chrisshroba on Sunday January 21, 2024 @11:14AM (#39079774)
Neat idea, definitely going to use this! Thanks for sharing