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

> I still leave convenience aliases intact. Nobody needs to be typing --color=auto every time they ls.

Hm. All of my aliases are convenience aliases:

cls=clear # Yes, I started out in DOS

ls=ls --color=auto

ll=ls -l

ll.=ls -al

And that's it. It's amazing how different peoples' workflows become once a tool allows a certain level of customizability.



> cls=clear # Yes, I started out in DOS

ctlr + l is your new best friend.


cmd + k (too)


cmd-k also clears the scrollback buffer. It's probably the single thing I miss most after moving back to linux from macOS.


You can bind Alt-K to Reset and clear in gnome-terminal's keyboard bindings.


Thank you!

My remaining minor complaint: alt-k loses the prompt.


Alt-K and Ctrl-l will solve that :)


> ctlr + l is your new best friend.

I use xterm (goes to check before I make an ass out of myself) and I'm utterly shocked this works. Amazing. Ctrl-l does indeed work.


alias ll='ls -halv'




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

Search: