かすみん日記

暇なときに何か喋ります

2022-07-01から1ヶ月間の記事一覧

【vscode】括弧の色を既定値から変更する

最近、built-inで、括弧のペアごとに異なる色を付ける機能を使えるようになりました。 code.visualstudio.com 既定値を上書きして、自分で色を設定することもできます。 setting.jsonの一番外の{ }の中に、下記コードを追加します; "editor.bracketPairColo…

【本日のbrew doctor】Warning: You have unlinked kegs in your Cellar.

本日のbrew doctorのコーナーです。 % brew doctor Please note that these warnings are just used to help the Homebrew maintainers with debugging if you file an issue. If everything you use Homebrew for is working fine: please don't worry or f…

【Git】error: unknown option `initial-branch=main'

gitでエラーが出た; % git init --initial-branch=main error: unknown option `initial-branch=main' usage: git init [-q | --quiet] [--bare] [--template=<template-directory>] [--shared[=<permissions>]] [<directory>] --template <template-directory> directory from which templates will be used --bare create a</template-directory></directory></permissions></template-directory>…

【macOS Monterey】codeコマンドを使えるようにする(Visual Studio Code)

Visual Studio Code(以下vscode)をターミナル上から起動するためのcodeコマンドを使えるようにします。 ※以下はズルいので無しです: alias code='open -a "Visual Studio Code"' Windowsだとvscodeをインストールするだけで、codeコマンドにも自動でパス…

【nodebrew】Use of uninitialized value $a1 in numeric comparison (<=>) at ... の解消

nodebrew listなどを実行すると以下のように、頭になんかメッセージが出力される; % nodebrew list Use of uninitialized value $a1 in numeric comparison (<=>) at /Users/<hoge>/.nodebrew/current/bin/nodebrew line 678. Use of uninitialized value $a1 in </hoge>…