From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23472 invoked by alias); 29 Nov 2014 09:16: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: 19463 Received: (qmail 6014 invoked from network); 29 Nov 2014 09:16:16 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 Date: Sat, 29 Nov 2014 10:10:49 +0100 From: meino.cramer@gmx.de To: zsh-users@zsh.org Subject: Using Zsh on a embedded system to configure GPIOs Message-ID: <20141129091049.GF4729@solfire> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: mutt-ng/devel-r804 (Linux) X-Provags-ID: V03:K0:7XAeka9ziJShvcnoDW0K5DOXQFvHDFDojQT5blfULZOupnoRjuU gh0UiNkjbv87BcxDQv2Eam6lV6Hes3B2n5VlmRRw8EAZhGB1xJYtoI3TM6NA/gPOxbAKnIO jfODO3nY30ZmKfxRqh/DPgto0UzkRBO4LZ4LXWMpf1eEcSOSeC/2vPMHv38YvMUv3RoQeto AdB15dYBDeV2eMsY3Z79g== X-UI-Out-Filterresults: notjunk:1; Hi, on the Arietta G25 embedded Linux system GPIOs are configured via echo-commands to files below /sys/... To prevent overwriting regular files with redirection commands I configured zsh to hit on my fingers when trying to do so. To overwrite files I need to use ">!" instead of ">". Which per se is a GREAT feature, it becomes annoying when manipulating the contents of that virtual files below /sys (and /proc and others). Is there any way to automate this feature NOT to hit on my fingers, if I want to write to files below /sys, /proc,, /dev...or (better) to recognize, if such a file is a virtual one? Thank you very much in advance for any help! Best regards, Meino