Skip to content

haruu11113/dotfiles

Repository files navigation

Iintroduction

This is my zsh, tmux and vim setup.

Get Start to Use

1. Please clone this repository on your PC.

clone git@github.com:haruu11113/dotfiles.git
cd haruu11113/dotfiles

2. make links

sh ./link.sh
(zsh ./link.sh)

3. Install Dein (neovim plugin manager)

https://github.com/Shougo/dein-installer.vim

mkdir ~/.vim/
mkdir ~/.vim/dein/
cd ~/.vim/dein/
~~curl https://raw.githubusercontent.com/Shougo/dein.vim/master/bin/installer.sh > installer.sh~~
sh -c "$(curl -fsSL https://raw.githubusercontent.com/Shougo/dein-installer.vim/master/installer.sh)"

~/.cache/dein/repos/github.com/Shougo/dein.vim/doc/dein.tx

delete cach

call dein#recache_runtimepath()

4. Set Up zsh

brew install zsh
chsh -s $(which zsh)

5. Install zplugin

[zplugin]

install zplugin moreved this repository https://qiita.com/taiyodayo/items/c1ebdc863e6baa18ea06
```
sh -c "$(curl -fsSL https://raw.githubusercontent.com/zdharma/zplugin/master/doc/install.sh)" )
```

[Sheldon]

https://github.com/rossmacarthur/sheldon#-installation

cargo install sheldon
install Rust / cargo command https://outputable.com/post/start-rust/
```
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

## この2つが必要だった
sudo apt update
sudo apt install build-essential pkg-config libssl-dev
```

5. Install neovim

※require : python3

brew install neovim

For install neovim==0.9

go ''AppImage ("universal" Linux package)'' https://github.com/neovim/neovim/wiki/Installing-Neovim#appimage-universal-linux-package
```
curl -LO https://github.com/neovim/neovim/releases/latest/download/nvim-linux-x86_64.appimage
chmod u+x nvim-linux-x86_64.appimage
./nvim-linux-x86_64.appimage

## If the ./nvim.appimage command fails, try:
./nvim-linux-x86_64.appimage --appimage-extract
./squashfs-root/AppRun --version

# Optional: exposing nvim globally.
sudo mv squashfs-root /
sudo ln -s /squashfs-root/AppRun /usr/bin/nvim
nvim
```

6. install pyenv

git clone https://github.com/pyenv/pyenv.git ~/.pyenv
pyenv install --list |grep 3.
pyenv install 3.6.0
pyenv global 3.6.0
### 以下やってみた。わからん。
sudo apt update
sudo apt install -y \
  build-essential \
  libssl-dev \
  zlib1g-dev \
  libbz2-dev \
  libreadline-dev \
  libsqlite3-dev \
  libffi-dev \
  liblzma-dev \
  tk-dev \
  libncurses5-dev \
  libncursesw5-dev \
  libxml2-dev \
  libxmlsec1-dev \
  wget \
  curl \
  xz-utils

coc

use python linter

pip install python-language-server pynvim
:CocInstall coc-python
:call coc#util#install()

nodejs

nvm, npm

https://github.com/nvm-sh/nvm

※nodejs lts(v14.15.0)がインストールされる

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.0/install.sh | bash
nvm install 22.17.0
nvm use 22.17.0
nvm alias default --lts
nvm install --lts
nvm use --lts

https://github.com/google-gemini/gemini-cli

npm install -g @google/gemini-cli

fzf

$ git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf
$ ~/.fzf/install
## これも必要だった, for Ubuntu
sudo apt update
sudo apt install ripgrep

install docker

sudo apt update
sudo apt install -y \
  ca-certificates \
  curl \
  gnupg \
  lsb-release


sudo mkdir -p /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg


echo \
  "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] \
  https://download.docker.com/linux/ubuntu \
  $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null


sudo apt update
sudo apt install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin


sudo usermod -aG docker $USER

sudo systemctl status docker
sudo docker run hello-world

install tmux

sudo apt install tmux

aerospace

mac用です

設定ファイル: .config/aerospace/aerospace.toml

便利コマンド

コンフィグ修正後のリロード

aerospace reload-config

on-window-detectedに設定するidを確認するコマンド

aerospace list-apps

JankyBordersのインストール

brew tap FelixKratz/formulae
brew install borders

brew services start borders

参考にしたきじ

Google Drive

https://neos21.hatenablog.com/entry/2020/03/31/080000

$ sudo add-apt-repository ppa:alessandro-strada/ppa
$ sudo apt-get update
$ sudo apt-get install google-drive-ocamlfuse

$ google-drive-ocamlfuse
#ブラウザが開くのでサインインし認証する
Access token retrieved correctly.
#しばらく待ち、このメッセージが出てプロンプトに戻ったら OK

#同期用ディレクトリを作成し同期を開始する
mkdir ~/GoogleDrive
google-drive-ocamlfuse ~/GoogleDrive

便利コマンド

参考にした

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Contributors