Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Bug report: `> filename` doesn't exit
- X-seq: zsh-workers 38376
- From: "Moore, Brandon A." <moore.3071@xxxxxxxxxxxxxxxxxxx>
- To: "zsh-workers@xxxxxxx" <zsh-workers@xxxxxxx>
- Subject: Bug report: `> filename` doesn't exit
- Date: Sat, 30 Apr 2016 20:35:17 +0000
- Accept-language: en-US
- Authentication-results: zsh.org; dkim=none (message not signed) header.d=none;zsh.org; dmarc=none action=none header.from=buckeyemail.osu.edu;
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=buckeyemailosu.onmicrosoft.com; s=selector1-buckeyemail-osu-edu; h=From:To:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=4OGwg/AnOoYxn8l9GnskCVxac9oc7mqeG4qT93Euqy0=; b=pkHz31PCapP9qPVeo3rHn+mOU72yTUzg3PfttyKVHmL4s8TSkf97sE0wdi2leHC6dMs4ZwD4Ys2KDVOJOkj5eSfMj5M+whtQCxHzQ88Y7lqggWCfes1jJRfQ04V+OZUB89MVDoovwkLaS1+/PmBV5U1hrWXBf9pwqJYLk2NImyY=
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:23
- Thread-index: AQHRox6rwVup8SsLcUuycTDrEixJ2g==
- Thread-topic: Bug report: `> filename` doesn't exit
I am uncertain if the mailling list is the correct spot for a bug report. Feel free to notify me if it is not, but note that I am not on the mailing list.
Bug description:
A user noted on 'oh-my-zsh's Github that the shorthand `> filename` will create a file by the given filename (or empty said file if it already exists) as it does in most shells, but it does not exit. This leads to the user needing to terminate said command with c-C or c-D. This is atypical compared to other shells that will execute this command and go to the next line.
Reproducing the bug:
run `$ > file`
p.s. please note that I personally do not use or suggest using this as a shortcut for the touch command, and am simply passing on this bug on behalf of the user who reported it.
Sincerely,
Brandon Moore
President
OpenSource Club
2016-2017
Messages sorted by:
Reverse Date,
Date,
Thread,
Author