Personal .files and config repo
mkdir -p "$HOME/code/repos/github.com/CodingJediKnight/" && cd "$_"
git clone https://github.com/CodingJediKnight/dotfiles.git && cd dotfiles
./setup
Create ~/.bash_presonal
, ~/.bash_private
or ~/.bash_work
to change settings.
For example:
export LANG="en_US.UTF-8"
Use git bash
cd ~
curl -sSLO https://raw.githubusercontent.com/CodingJediKnight/dotfiles/main/install/windows/setup.sh
./setup.sh
rm setup.sh
Install all:
dot && cd install/ubuntu/
./install-all
Or install per service:
dot && cd install/ubuntu/
./install-most-stuff-with-apt
# ./install/ubuntu/install-...
# ...
Install all:
dot && cd install/mac/
./install-all
Or install per service:
dot && cd install/mac/
./install-most-stuff-with-brew
# ./install/mac/install-...
# ...
Check if you have all env vars after instilling Go.
Or you can just bash -l
before run script.
dot && cd install/
./install-go-tools
Install:
brew install fish || sudo apt install fish
cd $DOTFILES/fish/ && ./setup
Then configure in fish terminal
cd $DOTFILES/fish/ && ./configure
Create ~/.localrc
to change settings.
You need to install Hack font in your system and use to your terminal emu.
# MacOS
brew tap homebrew/cask-fonts
brew install font-hack-nerd-font
# Ubuntu
sudo apt install fontconfig
curl -LO https://github.com/ryanoasis/nerd-fonts/releases/latest/download/Hack.zip
sudo mkdir /usr/local/share/fonts/Hack
sudo unzip Hack.zip -d /usr/local/share/fonts/Hack/
sudo fc-cache -fv
rm Hack.zip
# Windows
# Just download and install https://github.com/ryanoasis/nerd-fonts/releases/latest/download/Hack.zip
Don't forget to run
:PlugInstall
Install Russian spellcheck
:set spelllang=ru
cd $DOTFILES/nvim
./setup
Check mods config file path first with mods --settings
baseUrl="localhost:5000/v1" # write your own OpenAI ChatGPT API entry
yq -i "
.temp = 0.7 |
.topp = 0.7 |
.stop = [\"### Instruction\", \"### Response\"] |
.max-input-chars = 24500 |
.max-tokens = 2048 |
.apis.cjk-gpt.base-url = \"$baseUrl\" |
.apis.cjk-gpt.models.gpt.max-input-chars = 24500
" ~/.config/mods/mods.yml
Pomo timer in tmux session
go install github.com/rwxrob/pomo/cmd/pomo@latest
pomo init
pomo delete interval
pomo start
figlet -f slant Jedi | lolcat
figlet -f "${FIGL_FONT:-future}" Text
Hostname on enter ssh
scripts
sudo bash -c "cat ./hostnamefiglet > /etc/update-motd.d/10-help-text"
Cool things
entr bash -c 'clear; go run /tmp/main.go' <<< /tmp/main.go
entr bash -c 'clear; go run RunOnAny$' < <(ls **/*.go)