Suppose for example, the following implementation of
alias ls="ls -F -G" # colourise and display dir,exec,etc. icons alias ll="ls -l -h -o" # long-list, use KB,MB,etc. sizes, no group id
Now suppose I use
ll, and while usually I'm glad for the lack of (what is usually) clutter, I actually want the group IDs.
Is there any way of 'cancelling' an option, for example something like
More simply put, but without obvious use case, a command like
! here that renders
foo -B -!B equivalent to
Tagged zsh because that's what I use, but if a portable solution does exist obviously (?) that's preferred.