Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Just have two windows open, your console and your editor. If you ran a command that worked just copy and paste it into the editor. There's your script if you didn't want to get fancy. If you copied your initial cd command or whatever you'd know what the relative paths were referring too as well (although this issue is why I have gotten into the habit of using a path variable instead of relative or anything hardcoded).


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: