Git Product home page Git Product logo

dotfiles's Introduction

dotfiles

Accio, My Utensils!

Usage

Clone this repository

git clone --recursive https://github.com/Tyaba/dotfiles.git

Prerequisites

sudo apt update
sudo apt install -y curl lsb-release

wslの場合

windowsのPATHが入っているとinstall済と誤判定するので直す sudo emacs /etc/wsl.conf

# WindowsのPATHを引き継がない設定を追記する
[interop]
appendWindowsPath = false

Dry-run

./install.sh -n

Apply

./install.sh

Add new cookbook

mkdir cookbooks/:app_name
$EDITOR cookbooks/:app_name/default.rb
$EDITOR roles/$(uname)/default.rb

dotfiles's People

Contributors

chck avatar tyaba avatar

Stargazers

 avatar

dotfiles's Issues

localeの変更ができないwarningが出まくる

下記のwarningがターミナルで出る
bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)

debianで遭遇した。
sudo dpkg-reconfigure locales
で解消した。

dpkg-reconfigureがインタラクティブだと自動化できないので下記でnon-interactiveにする

locale-gen --purge "en_US.UTF-8"
dpkg-reconfigure --frontend noninteractive locales

vscode内の統合ターミナルでzshを起動すると.zshrcの読み込みで構文エラーになる

エラー内容

/home/hoge/.zsh/lib/plugins.zsh:1: = not found
上記が出てzshrcの読み込みが失敗に終わる。手動でsource ~/.zshrcするとエラーは出ず、zshrcの設定が効く

解決方法

.zshrcの最初に読み込む場所に
[[ "$TERM_PROGRAM" == "vscode" ]] && . "$(code --locate-shell-integration-path zsh)"
を書いておく

参考

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.