Update README.md

This commit is contained in:
skyper
2023-05-18 20:32:45 +01:00
committed by GitHub
parent a85d02b09b
commit e8f2049576
+1 -1
View File
@@ -238,7 +238,7 @@ ANSI escape characters or a simple `\r` ([carriage return](https://www.hahwul.co
Hide the last command (example: `id`) in `~/.bashrc`:
```sh
echo -e "id #\\033[2K\\033[1A" >>~/.bashrc
echo -e "id #\\033[2K\\033[1A" >>~/.bashrc
### The ANSI escape sequence \\033[2K erases the line. The next sequence \\033[1A
### move the cursor 1 line up.
### The '#' after the command 'id' is needed so that bash still executes the 'id'