3
votes
2answers
162 views

Always run a command after another command

With zsh (and oh-my-zsh), is it possible to always run a command after a certain other command? I want to always run an ls after cding to a directory, rather than running cd example; ls every time. I ...
1
vote
2answers
161 views

How do I list only source code files when I type ls on OSX?

when I type ls, I don't want to see .o files because everytime I ls, It see X.cpp X.h X.o, how do I not list .o files?
4
votes
1answer
569 views

In ls, how can I remove bg color for sticky bit

How can I remove the background color for the sticky bit. LSCOLORS looks like this export LSCOLORS="Gxfxcxdxbxegedabagacad" Using oh-my-zsh Edit: As suggested I tested LSCOLORS="" ls but the colors ...