babun-notes


babun on windows10

download

http://babun.github.io

set oh my dash theme

  1. download DejaVu Sans Mono

  2. 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
  1. vim ~/.zshrc
    if you want to use other themes please let the theme file into ~/.oh-my-zsh/themes/
ZSH_THEME="agnoster"
  1. settings about mouse

mouse settings

use shift and left mouse to choose

use right mouse to open menu

  1. reload the babun

cool

https://www.sorendam.com/take-control-of-your-console-in-windows-with-babun-oh-my-zsh-and-powerline-fonts/

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"
  1. Add on command in ~/.babunrc :
cd $OLDPWD

end

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.


文章作者: losss
版权声明: 本博客所有文章除特別声明外,均采用 CC BY 4.0 许可协议。转载请注明来源 losss !
评论
  目录