From 39129e90251a3dff3fda005eabf5ce3df7730941 Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Fri, 28 Jun 2019 21:21:00 -0400 Subject: Unset iflag when exiting catsh It saves history! It's usable! --- bin/catsh/main.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bin/catsh/main.c b/bin/catsh/main.c index c3b28173..7a0bf25b 100644 --- a/bin/catsh/main.c +++ b/bin/catsh/main.c @@ -173,6 +173,8 @@ state4: if (sflag || minusc == NULL) { cmdloop(1); } + iflag = 0; + optschanged(); exitshell(exitstatus); /*NOTREACHED*/ return 0; @@ -339,6 +341,8 @@ exitcmd(int argc, char **argv) { if (stoppedjobs()) return 0; + iflag = 0; + optschanged(); if (argc > 1) exitshell(number(argv[1])); else -- cgit 1.4.1 ected'>master dontfiles
summary refs log tree commit diff
path: root/gfx/cocoa.m (unfollow)
Commit message (Expand)Author
2018-07-30Move graphical programs out of binJune McEnroe
2018-07-30Add Neckbeard DeathcampJune McEnroe
2018-07-29Just print rs1 in dtch restoreTermJune McEnroe
2018-07-29Fix dtch cmsg sizeJune McEnroe
2018-07-25Fix cfmakeraw callsJune McEnroe
2018-07-23Remove nasm from installJune McEnroe
2018-07-23Add monday.local to sshJune McEnroe
2018-07-23Restore LDLIBS alphabetical orderJune McEnroe
2018-07-23Use EV_SET in watchJune McEnroe
2018-07-23Link with -lcursesJune McEnroe
2018-07-22Fix scheme indentationJune McEnroe
2018-07-16Add -m option to glitchJune McEnroe
2018-07-16malloc deflate buffer in glitchJune McEnroe
2018-07-16malloc the deflate buffer in pngoJune McEnroe
2018-07-05Add shed bloodJune McEnroe