Created
March 25, 2023 12:12
-
-
Save nghialuffy/c2c16e9a116b8ed3765662f0c8492945 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0. Got shell | |
1. Ctrl + Z | |
==== /bin/bash | |
2. stty raw -echo | |
3. fg | |
4. reset | |
5. | |
``` | |
export SHELL=bash | |
export TERM=xterm-256color | |
stty rows 50 columns 105 | |
``` | |
==== /bin/zsh | |
2. stty raw -echo; fg | |
3. reset | |
4 | |
``` | |
export SHELL=bash | |
export TERM=tmux-256color | |
stty rows 47 columns 105 | |
``` | |
6. | |
`python3 -c 'import pty; pty.spawn("/bin/bash")'` | |
7. Happy with beautiful shell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment