Skip to content

shota-tsuji/dotfiles

Repository files navigation

Portable Configuration Files

Prerequisite

brew install --cask wezterm
brew install ghq peco coreutils gnu-sed gawk tmux

peco

mkdir $HOME/.config/peco/
ln -s $(readlink -f .peco/config.json) $HOME/.config/peco/

fish

ln -s $(readlink -f config.fish) $HOME/.config/fish/

Starship

curl -sS https://starship.rs/install.sh | sh
ln -s $(readlink -f starship.toml) $HOME/.config/

zsh

ln -s $(readlink -f .zshrc) $HOME/.zshrc
ln -s $(readlink -f .zsh) $HOME/.zsh
git clone https://github.com/zsh-users/antigen.git ~/antigen

linux

ln -s $(readlink -f .zlogin) $HOME/.zlogin

git

ln -s $(readlink -f .gitconfig) $HOME/.gitconfig

tmux

ln -s $(readlink -f .tmux.conf) $HOME/.tmux.conf

gvm

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

vim

ln -s $(readlink -f .vimrc) $HOME/.vimrc
ln -s $(readlink -f vim-config) $HOME/.vim/vim-config
curl -fLo ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
curl -fLo ~/.vim/colors/molokai.vim --create-dirs https://raw.githubusercontent.com/tomasr/molokai/master/colors/molokai.vim

Reload .vimrc and :PlugInstall to install plugins.

type -p curl >/dev/null || sudo apt install curl -y
curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg \
&& sudo chmod go+r /usr/share/keyrings/githubcli-archive-keyring.gpg \
&& echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null \
&& sudo apt update \
&& sudo apt install gh -y
 ln -s $(readlink -f changelog.config.js) $HOME/

karabiner on Mac

Because symbolic link does not affect correctlly with karabiner, just copy to load and update configuration. copy json file to your configuration directory.

cp karabiner.json ~/.config/karabiner/

Also karabiner.json is needed to affect on GUI. And the order of rules is important. The picture below shows it at 2023/01. karabiner-gui

If you updated its configuration, then also update repository's one.

  1. update your karabiner configuration by Karabiner-GUI.
  2. copy json file to this repository.

Please import the json file in this repository. The picture below show import and export settings. rectangle-gui

About

Config files for Linux environment

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published