Last active
December 20, 2020 03:05
-
-
Save phuongtailtranminh/5cee7980ac328a19429b 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
Because of 'Meslo for Powerline' font doens't work with Putty. | |
So we need another patched font to display powerline correctly. | |
Here are the list: | |
- DejaVu Sans Mono for Powerline (https://github.com/powerline/fonts/tree/master/DejaVuSansMono) | |
- Droid Sans Mono for Powerline (https://github.com/powerline/fonts/tree/master/DroidSansMono) | |
To change font: On main window (Putty Configuration) -> Window -> Apearance -> Font settings -> Change | |
To test, enter this in the terminal screen: echo "\ue0b0 \u00b1 \ue0a0 \u27a6 \u2718 \u26a1 \u2699" | |
My favourtie zsh theme: https://gist.github.com/agnoster/3712874 | |
Reg file: | |
REGEDIT4 | |
[HKEY_CURRENT_USER\Software\SimonTatham\PuTTY] | |
[HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\Sessions] | |
[HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\Sessions\Default%20Settings] | |
"Colour0"="131,148,150" | |
"Colour1"="147,161,161" | |
"Colour2"="0,43,54" | |
"Colour3"="7,54,66" | |
"Colour4"="0,43,54" | |
"Colour5"="238,232,213" | |
"Colour6"="7,54,66" | |
"Colour7"="0,43,56" | |
"Colour8"="220,50,47" | |
"Colour9"="203,75,22" | |
"Colour10"="133,153,0" | |
"Colour11"="88,110,117" | |
"Colour12"="181,137,0" | |
"Colour13"="101,123,131" | |
"Colour14"="38,139,210" | |
"Colour15"="131,148,150" | |
"Colour16"="211,54,130" | |
"Colour17"="108,113,196" | |
"Colour18"="42,161,152" | |
"Colour19"="147,161,161" | |
"Colour20"="238,232,213" | |
"Colour21"="253,246,227" | |
"Present"=dword:00000001 | |
"Protocol"="ssh" | |
"CloseOnExit"=dword:00000001 | |
"WarnOnClose"=dword:00000001 | |
"PingInterval"=dword:00000000 | |
"PingIntervalSecs"=dword:0000003b | |
"TerminalType"="putty-256color" | |
"SshProt"=dword:00000003 | |
"HideMousePtr"=dword:00000001 | |
"Beep"=dword:00000001 | |
"ScrollbackLines"=dword:000007d0 | |
"TermWidth"=dword:00000050 | |
"TermHeight"=dword:00000028 | |
"Font"="Lucida Console" | |
"FontHeight"=dword:0000000c | |
"FontQuality"=dword:00000003 | |
"UseSystemColours"=dword:00000000 | |
"TryPalette"=dword:00000000 | |
"ANSIColour"=dword:00000001 | |
"Xterm256Colour"=dword:00000001 | |
"BoldAsColour"=dword:00000000 | |
"MouseIsXterm"=dword:00000000 | |
"RectSelect"=dword:00000000 | |
"MouseOverride"=dword:00000001 | |
"LineCodePage"="UTF-8" | |
"UTF8Override"=dword:00000001 | |
"ScrollBar"=dword:00000001 | |
"ScrollOnKey"=dword:00000001 | |
"ScrollOnDisp"=dword:00000000 | |
"X11Forward"=dword:00000001 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I need run
echo -e "\ue0b0 \u00b1 \ue0a0 \u27a6 \u2718 \u26a1 \u2699"
to display them correctly