zsh-users
 help / color / mirror / code / Atom feed
From: meino.cramer@gmx.de
To: zsh-users@zsh.org
Subject: Using Zsh on a embedded system to configure GPIOs
Date: Sat, 29 Nov 2014 10:10:49 +0100	[thread overview]
Message-ID: <20141129091049.GF4729@solfire> (raw)

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



             reply	other threads:[~2014-11-29  9:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-29  9:10 meino.cramer [this message]
2014-11-29 19:35 ` Bart Schaefer
2014-11-29 20:03   ` Mikael Magnusson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20141129091049.GF4729@solfire \
    --to=meino.cramer@gmx.de \
    --cc=zsh-users@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).