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

Ah, a fellow two line prompt enjoyer.

I usually have the full path, but I special case a few "well known" paths, like home home shortens to ~



Yup. It seems to be \w that does that. (This is bash, which probably matters.)




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

Search: