- GNU Coding Standards: Option Table
- 分量豊富で、Linux ライクシステムの CLI については、ほぼこれだけ見ればいいのでは、という気がする。
- Standard Command-Line Options
- Linux ドキュメントプロジェクト。数は少なめ。
- GNU Coding Standards - Standards for Command Line Interfaces
- GNU 公式とほぼ同じ内容に見える。
- Command-Line Options
- Unix でよく使われる a-z のオプションの意味
- 🎨 when improving the format/structure of the code
- 🚀 when improving performance
- ✏️ when writing docs
- 💡 new idea
- 🚧 work in progress
- ➕ when adding feature
- ➖ when removing feature
- 🔈 when adding logging
- 🔇 when reducing logging
- 🐛 when fixing a bug
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
#!/usr/bin/env bash | |
set -euo pipefail | |
envfile=".env.hubot" | |
if [[ ! -e $envfile ]]; then | |
echo "[error] $envfile not found!" | |
exit 1 | |
fi | |
. $envfile |
# bash
git clone [email protected]:key-amb/enhancd.git -b feature/configure-subcommands ~/.enhancd
cat <<EOS >> ~/.bashrc
ENHANCD_HYPHEN_ARG="-ls"
ENHANCD_DOT_ARG="-up"
. ~/enhancd/init.sh
bind -x '"\C-ur": cd -ls'
EOS
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
key-amb:~/my/repos/enhancd% .config/bin/shove/bin/shove -v -s zsh test/enhancd-enhancd_test.sh | |
: | |
# __enhancd::cd() | |
# With 1 set | |
ok 1 - /home/key-amb/my/repos/enhancd is /home/key-amb/my/repos/enhancd | |
ok 2 - /home/key-amb is /home/key-amb | |
-: no such file or directory | |
not ok 3 - /home/key-amb/my/repos/enhancd is /home/key-amb | |
not ok 4 - /home/key-amb is /home/key-amb/my/repos/enhancd | |
1..4 |
- 不動産契約
- 住所変更に伴うToDo
- 各種契約変更
- 電気
- 水道
- ガス
- インターネット
- 住所変更手続き
- 公的機関
- 各種契約変更
- 住民票
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
.PHONY: update update-all all | |
update: | |
git pull origin master | |
git submodule update --init | |
update-all: update | |
git submodule foreach git pull origin master | |
all: update-all |
参考: Vimスクリプト基礎文法最速マスター - 永遠に未完成 : http://thinca.hatenablog.com/entry/20100201/1265009821
" Vim から
:source tutorial.vim
NewerOlder