Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
How to complete alias after alias of sudo?
- X-seq: zsh-users 22718
- From: Han Pingtian <hanpt@xxxxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: How to complete alias after alias of sudo?
- Date: Wed, 31 May 2017 14:46:55 +0800
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mail-followup-to: zsh-users@xxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
Hi,
I have
alias sd='sd -i '
alias foo=ls
And
% sd foo
[sudo] password for hpt:
anaconda-ks.cfg initial-setup-ks.cfg install-ocfedora.sh
works just fine.
But looks like I cannot complete the second alias by <tab>:
% sd f<tab>
external command
fold foomatic-kitload
...
only external commands listed.
Is it possible to complete alias here?
Thanks in advance!
Messages sorted by:
Reverse Date,
Date,
Thread,
Author