shyazusa / dotfile

dotfile
MIT License
0 stars 0 forks source link
bash bashrc dotfiles editorconfig eslint eslintrc git gitmessage stylelint stylelintrc vim vimperator vimrc zpreztorc zprofile zsh zshrc

dotfile

Use zsh

$ yum install zsh
$ zsh
$ cd ~
$ rm .zlogin .zlogout .zprofile .zshenv .zshrc
$ git clone --recursive https://github.com/sorin-ionescu/prezto.git "${ZDOTDIR:-$HOME}/.zprezto"
$ setopt EXTENDED_GLOB
$ for rcfile in "${ZDOTDIR:-$HOME}"/.zprezto/runcoms/^README.md(.N); do
$ ln -s "$rcfile" "${ZDOTDIR:-$HOME}/.${rcfile:t}"
$ done
$ exec $SHELL

Use my dotfiles

$ cd ~/Documents/GitHub
$ git clone https://github.com/shyazusa/dotfile.git
$ cp -rf ~/Documents/GitHub/dotfile/.* ~/.

If Use neon-font.css in VS Code

$ cp -rf ~/Documents/GitHub/dotfile/neon-font.css ~/.
  1. Install the Custom CSS and JS Loader extension
  2. Tell Custom CSS and JS Loader to use the CSS file included with adding an import line to your VS Code settings.json file:
  "vscode_custom_css.imports": [
    "file:///Users/your_pc_user_name/neon-font.css"
  ],
  1. Run Reload Custom CSS and JS in VS Code

Use my gitfiles

$ git config --global core.commentchar ";"
$ git config --global commit.template ~/dotfile/.gitmessage.txt
$ git config --global init.templatedir '~/dotfile/.git_template'

Use pre-commit

$ cd "your project path"
$ cp ~/dotfile/.git_template/hooks/pre-commit .git/hooks/

Use prepare-commit-msg

$ cd "your project path"
$ cp ~/dotfile/.git_template/hooks/prepare-commit-msg .git/hooks/

Test prepare-commit-msg

$ git checkout id/000
$ touch test
$ git add test
$ git commit