Date: Sat, 29 Jul 2023 17:59:29 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 270441] /bin/sh - please implement '!!' support for 'sudo !!' and 'doas !!' usage Message-ID: <bug-270441-227-iGv4lTGT5S@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-270441-227@https.bugs.freebsd.org/bugzilla/> References: <bug-270441-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D270441 --- Comment #5 from Slawomir Wojciech Wojtczak <vermaden@interia.pl> --- While we are on interactive improvements path - I would also implement the = !$ thing for /bin/sh shell. % ls -F /usr bin/ include/ libdata/ obj/ share/ ccache/ lib/ libexec/ ports/ src/ home/ lib32/ local/ sbin/ tests/ % ls !$ ls: !$: No such file or directory The !$ thing is the last argument of the previous command. Example of working !$ from zsh(1) or bash(1) shell. % ls !$=20=20 ls /usr bin include libdata obj share ccache lib libexec ports src home lib32 local sbin tests Speeds up command execution in many aspects. Regards, vermaden --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-270441-227-iGv4lTGT5S>