An open API service indexing awesome lists of open source software.

https://github.com/ehco1996/.dotfiles


https://github.com/ehco1996/.dotfiles

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

          

# setup my env

## dotbot

- `git clone https://github.com/Ehco1996/.dotfiles.git`

- `pip3 install dotbot`

- `python3 -m dotbot -c install.conf.yaml`

## font

-

## shell

- zsh

`yum install -y zsh`

`chsh -s $(which zsh)`

```bash
# if you zhs version <=5.2
wget https://sourceforge.net/projects/zsh/files/zsh/5.4.2/zsh-5.4.2.tar.xz/download

tar -xvJf download
cd zsh-5.4.2/

./configure
make && sudo make install

rm -rf download zsh-5.4.2
```

- start-ship
`curl -sS https://starship.rs/install.sh | sh`

- oh-my-zsh

`sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"`

- zsh plugin

```bash
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
```

```bash
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting`
```

- tmux

## cli tools

- sshw

`https://github.com/Ehco1996/sshw`

`go install github.com/yinheli/sshw/cmd/sshw@latest`

- kubectl
`brew install kubectl`

- kubectx
`brew install kubectx`
- fzf
`brew install fzf`

- fzf-tab

`git clone https://github.com/Aloxaf/fzf-tab ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/fzf-tab`

-

- zoxide
`brew install zoxide`

`apt install zoxide`

## lang

- python

install build version python

`MISE_PYTHON_COMPILE=true mise use -g python@3.11`

- poetry

```bash
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python3

mkdir $ZSH_CUSTOM/plugins/poetry
poetry completions zsh > $ZSH_CUSTOM/plugins/poetry/_poetry
```

- go

```bash
bash < <(curl -s -S -L https://raw.githubusercontent.com/moovweb/gvm/master/binscripts/gvm-installer)
```

- dev tool mise

# https://github.com/jdx/mise