ไธบ่ ๅธธๆ, ๆ้พๆไนไบ; ่ก่ ๅธธ่ณ, ่ณ้พ่ณไนๅฐ. ไธๅๅ ฑๅไน!
- ๆๅญๆฅ็งWhoever will eventually shake the world will remain silent for a long time;
Whoever will eventually light the lightning will be drifting like clouds for a long time.
- Nietzsche
- Author: marslo
- Email: marslo.jiao@gmail.com
- Created: 2013-10-07 21:43:42
- LastChange: 2024-01-24 00:43:55
$ bash install.sh
# show fonts
$ fc-list | sed -re 's/^.+\/([^:]+):\s?([^,:]+),?:?.*$/\1 : \2/g' | column -t -s: -o: | sort -t':' -k2'
# show font properties
$ fc-query /path/to/font.ttf
## show font family only
$ fc-query -f '%{family}\n' /path/to/font.ttf
-
RecMonoCasual Nerd Font Mono
$ curl --create-dirs -O --output-dir "${fontsPath}" \ -fsSL --remote-name-all \ https://github.com/marslo/fonts/raw/fonts/Recursive/Recursive_Code_NF/RecMonoCasual/RecMonoCasualNerdFontMono-Regular.otf \ https://github.com/marslo/fonts/raw/fonts/Recursive/Recursive_Code_NF/RecMonoCasual/RecMonoCasualNerdFontMono-Italic.otf \ https://github.com/marslo/fonts/raw/fonts/Recursive/Recursive_Code_NF/RecMonoCasual/RecMonoCasualNerdFontMono-Bold.otf \ https://github.com/marslo/fonts/raw/fonts/Recursive/Recursive_Code_NF/RecMonoCasual/RecMonoCasualNerdFontMono-BoldItalic.otf
-
Monaco Nerd Font Mono
# otf $ curl --create-dirs -O --output-dir "${fontsPath}" -fsSL \ https://github.com/marslo/fonts/raw/fonts/Monaco/MonacoNerdFontMono-Regular.otf # ttf $ curl --create-dirs -O --output-dir "${fontsPath}" -fsSL \ https://github.com/marslo/fonts/raw/fonts/Monaco/MonacoNerdFontMono-Regular.otf
dotfils # -> $HOME
โโโ .config
โย ย โโโ nvim # nvim/init.lua
โย ย โโโ ...
โโโ .marslo
โย ย โโโ .alias # all alias
โย ย โโโ bin # all bins/scripts
โย ย โโโ vimrc.d # all vimrc congiures
โโโ .vimrc # source vimrc.d/*
โโโ .marsorc # โฎ source all in `.marslo/{.alias,bin}`
โโโ .marsorc.wsl # โฏ
โโโ .bashrc # source ~/.marslorc or ~/.marslorc.wsl
โโโ ... # rc/profile/ignore/...
- add
source
as blow in.bashrc
or/etc/bashrc
(RHEL/CentOS) or/etc/bash.bashrc
(Ubuntu) or~/.bash_profile
(OSX)[ -f "~/.marslo/.marslorc" ] && source "~/.marslo/.marslorc" # wsl [ -f "~/.marslo/.marslorc.wsl" ] && source "~/.marslo/.marslorc.wsl"
- Copy the
.inputrc
to$HOME
$ cp ./dotfils/.inputrc ~/.inputrc
Tip
- Tab: for copilot auto-completion
- Ctrl+j: for coc-snippets
- Ctrl+m: for lsp auto-completion
$ cp ./dotfils/.marslo/.gitalias ~/.marslo
# included in .gitconfig
$ echo "[include]" >> ~/.gitconfig
$ echo " path = ~/.marslo/.gitalias" >> ~/.gitconfig
# or
$ cat >> ~/.gitconfig << EOF
[include]
path = ~/.marslo/.gitalias
EOF
# ubuntu:
$ sudo apt install tig
# from source
$ git clone git@github.com:jonas/tig.git
$ make prefix=/usr/local/tig
$ sudo make prefix=/usr/local/tig install
- config: copy
.tigrc
to$HOME
folder$ cp ./dotfils/.tigrc ~