Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Multi-word aliases?

On Tue, 04 Nov 2014 13:32:08 +0100
Mikael Magnusson <mikachu@xxxxxxxxx> wrote:
> I think in the long run you'll run into more trouble if you expect the
> behaviour of commands that do something to be different than it is,
> than if you type a command that doesn't exist which then makes you
> realize you have to type out the full command. But in this particular
> case the resulting difference isn't very life-threatening :).

Actually, most of the time when I miss something like that in zsh,
it turns out that once the shell history contains only invocations
of "git rebase" including "--keep-empty" the problem goes away
almost automatically.  That is because I'm way too lazy to type
long commands and instead use history search all the time, usually
after the first or the second letter.  :-)

I don't have a lot of this stuff, but some aliases are useful and

alias gdb='gdb -q'
alias ll='ls -l'
alias ls='/bin/ls --color -F -N -T 0 --dereference-command-line-symlink-to-dir
alias pstree='pstree -A'
alias ncal='ncal -M'


Dominik ^_^  ^_^


Dominik Vogt
IBM Germany

Messages sorted by: Reverse Date, Date, Thread, Author