babun on windows10
download
set oh my dash theme
-
download DejaVu Sans Mono
-
vim ~/.minttyrc
copy/paste the below into the file
BoldAsFont=no
Columns=150
Rows=55
Font=DejaVu Sans Mono for Powerline
FontHeight=10
Transparency=low
ForegroundColour=#A0A0A0
BackgroundColour=#1B1D1E
CursorColour=#A0A0A0
Black=#1B1D1E
Red=#F92672
Green=#82B414
Yellow=#FD971F
Blue=#268BD2
Magenta=#8C54FE
Cyan=#56C2D6
White=#CCCCC6
BoldRed=#FF5995
BoldBlack=#505354
BoldGreen=#B7EB46
BoldYellow=#FEED6C
BoldBlue=#62ADE3
BoldMagenta=#BFA0FE
BoldCyan=#94D8E5
BoldWhite=#F8F8F2
vim ~/.zshrc
if you want to use other themes please let the theme file into~/.oh-my-zsh/themes/
ZSH_THEME="agnoster"
- settings about mouse
use shift and left mouse to choose
use right mouse to open menu
- reload the babun
configure Babun/ZSH for the integrated terminal in vscode
please use ZSH_THEME=“babun” or other themes because the theme “agnoster” has some problems
1.
"terminal.integrated.shell.windows": "C:\\Users\\losss\\.babun\\cygwin\\bin\\zsh.exe"
- Add on command in ~/.babunrc :
cd $OLDPWD
use left mouse button to choose and copy then click the right mouse button to paste
Package manager
Babun provides a package manager called pact
. It is similar to ‘apt-get’ or ‘yum’. Pact enables installing/searching/upgrading and deinstalling cygwin packages with no hassle at all. Just invoke pact --help to check how to use it.