https://github.com/serna37/dotfiles
dotfiles. zsh vim
https://github.com/serna37/dotfiles
brew vim vimrc zsh zshrc
Last synced: 5 months ago
JSON representation
dotfiles. zsh vim
- Host: GitHub
- URL: https://github.com/serna37/dotfiles
- Owner: serna37
- License: mit
- Created: 2023-07-04T04:34:50.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2026-01-07T07:42:54.000Z (6 months ago)
- Last Synced: 2026-01-08T17:36:44.124Z (6 months ago)
- Topics: brew, vim, vimrc, zsh, zshrc
- Language: Shell
- Homepage: https://github.com/serna37
- Size: 1.09 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/serna37/dotfiles/releases/tag/v10.0.0)
## Installation
- このレポジトリでの設定ファイルをシンボリックリンクします
- lazyinstall式を採用しており、初期投入以外のコマンドは、必要な時にinstallされます
- zshrc中で、必要に応じて設定ファイルが作成されます
> [!Note]
> ChromeはPC初期化時点で手動で入れる
> その他の必要なアプリはinstall.shで入れる
まずは`Command Line Tools`を導入します
```shell
xcode-select --install
```
続いてHomebrewを導入します(sudo権限承認が必要です)
```shell
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
```
本レポのinstall.shを実行します
```shell
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/serna37/dotfiles/master/install.sh)"
```
必要に応じてvimのためのコマンドを実行
```sh
# vim-plugを入れる
curl -fSsLo ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim && vim -c "PlugInstall"
# codium認証のために以下URLへのアクセス
https://www.codeium.com/profile?response_type=token&redirect_uri=vim-show-auth-token&state=a&scope=openid%20profile%20email&redirect_parameters_type=query
```
## 一時コピペ用
- shell
```shell
alias l='ls -AFlihrt --color=auto'
alias tree="pwd;find . | sort | sed '1d;s/^\.//;s/\/\([^/]*\)$/|--\1/;s/\/[^/|]*/| /g'"
alias rm='rm -i'
alias re='exec $SHELL -l'
alias q='exit'
```
## 関連
- C++関連では[このライブラリ](https://github.com/serna37/library-cpp)を使用します
- 主に[Terminal Trove](https://terminaltrove.com/)からコマンドを選んでいます
## dotfiles構成
```
.
├── bk/
│ └── ** : すぐ参照したい、過去のファイル
│
├── .p10k.zsh : zsh 外観設定
├── .vimrc : vim設定
├── .zshrc : zsh設定
├── config.toml : mise設定(ツールバージョン・環境変数・カスタムコマンド)
├── cpp.snippets : C++向けスニペット
├── cpp.zsh : C++向けカスタムコマンド
├── ghostty_config: Ghosttyターミナル設定
└── install.sh : インストーラ
```
---
> [!Note]
> - コードの署名: [参考](https://blog.symdon.info/posts/1610113408/)