[Bug 270441] /bin/sh - please implement '!!' support for 'sudo !!' and 'doas !!' usage
Date: Sat, 29 Jul 2023 17:59:29 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270441 --- 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 !$ 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 -- You are receiving this mail because: You are the assignee for the bug.