From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16556 invoked by alias); 18 May 2016 01:32:20 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 21581 Received: (qmail 9429 invoked from network); 18 May 2016 01:32:17 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.1 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: zsh-users@zsh.org To: zsh-users@zsh.org From: Emanuel Berg Subject: Re: sudo user-command-1; also-sudoed-command-2 Date: Wed, 18 May 2016 03:31:56 +0200 Message-ID: <86bn44ducz.fsf@student.uu.se> References: <86inydgbp6.fsf@student.uu.se> <45531463499099@web19m.yandex.ru> <86shxge9t2.fsf@student.uu.se> <1093961463515474@web6o.yandex.ru> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: c-9ce1e655.08-680-7570702.cust.bredbandsbolaget.se Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) Cancel-Lock: sha1:7/znERl46TKVva0w/JnH0HsR3sQ= "Nikolay Aleksandrovich Pavlov (ZyX)" writes: > Where is `ll` alias defined? OK, now I see where all this is heading! The reason you said my solution is faster is because with this solution, the user stuff is loaded each time! I have as of today 44 zsh files and even tho the extra time for loading them can be tolerated as time considered, it opens the door for all kinds of problems associated with the this process, which will be repeated perhaps in the middle of work *changing* that process (i.e., the zsh user files). So no, this idea I don't like. I just want $ zudo a; b; c to be syntax sugar for $ sudo a; sudo b; sudo c But to answer your question: The alias is defined at line 21 in http://user.it.uu.se/~embe8573/conf/.zsh/ls which is loaded at line 140 in http://user.it.uu.se/~embe8573/conf/.zshrc -- underground experts united .... http://user.it.uu.se/~embe8573 Emacs Gnus Blogomatic ......... http://user.it.uu.se/~embe8573/blogomatic - so far: 32 Blogomatic articles -