vim -u NONE -N
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/zsh | |
MEMO_DIR=$HOME/memofiles | |
mkdir -p $MEMO_DIR 2>/dev/null | |
local -A opthash | |
zparseopts -D -A opthash -- c: d l | |
# cot is installed in /usr/local/bin/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Use custom format | |
format = """ | |
$username[@](bold black)$hostname$directory$git_branch$git_commit$git_state$git_metrics $git_status $time | |
[](bold cyan)[ ](bold purple)""" | |
scan_timeout=50 | |
command_timeout=1500 | |
[username] | |
disabled = false |
ファイル中の文字列を部分一致で検索するのが基本的な使い方
grep <string> <path|file>
例えば、filedir以下からorangeを含むテキストを見つけるには以下のようにする
grep orange filedir/*
WSL環境であればbrewを入れること
Ubuntuであれば
sudo apt install build-essential procps curl file git
基本的にMacにWindowsキーボードとして認識させ,karabinerでうまいこと割り当てて運用する.
Traget Deviceを
- Niz BT5.0(Nordic): 一度有線接続したことがある場合
- Unknown(Nordic): 有線接続したことがない場合
として,以下の設定を行う
- left_command -> left_option
NewerOlder