issues
search
rgardner
/
bsh-rs
Bash-like shell (builtins, job control, piping) written in Rust
Apache License 2.0
4
stars
0
forks
source link
Implement history expansion
#2
Closed
rgardner
closed
8 years ago
rgardner
commented
9 years ago
[x]
!n
- repeat command numbered n in the list of commands (starting at 1)
[x]
!-n
- repeat last nth command (starting at -1)
[x]
!string
- searches through history for first item that matches the string (via contains)
!n
- repeat command numbered n in the list of commands (starting at 1)!-n
- repeat last nth command (starting at -1)!string
- searches through history for first item that matches the string (via contains)