>> I just created an alias for this: >> alias hidepycs="ls *.py[co] > .hidden" > > Close -- try > > alias ls='ls --hide=*.py[co]' > > and when you want to see them use ls -a.
+1 to Emile's approach. This seems to be the right approach, using the "--hide" option built into ls: --hide=PATTERN do not list implied entries matching shell PATTERN (overridden by -a or -A) _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor