diff --git a/lib/core-complete.sh b/lib/core-complete.sh index 46b265f6..a81ff30e 100644 --- a/lib/core-complete.sh +++ b/lib/core-complete.sh @@ -5047,6 +5047,7 @@ function ble-decode/keymap:auto_complete/define { ble-bind -f S-C-m auto_complete/insert ble-bind -f C-f auto_complete/insert-on-end ble-bind -f right auto_complete/insert-on-end + ble-bind -f C-e auto_complete/insert-on-end ble-bind -f end auto_complete/insert-on-end ble-bind -f M-f auto_complete/insert-word ble-bind -f M-right auto_complete/insert-word diff --git a/memo/ChangeLog.md b/memo/ChangeLog.md index c36bb0bf..4899ce30 100644 --- a/memo/ChangeLog.md +++ b/memo/ChangeLog.md @@ -24,6 +24,10 @@ - syntax: fix a infinite loop for variable assignments and parameter expansions `#D1239` 327661f - complete: clear menu on history move `#D1248` 0000000 +## Changes +- highlight: highlight symlink directories as symlinks `#D1249` 0000000 +- auto-complete: bind `insert-on-end` to `C-e` `#D1250` 0000000 + ## Internal changes and fixes - util: merge `ble/util/{save,restore}-{arrs => vars}` `#D1217` 6acb9a3 diff --git a/note.txt b/note.txt index 749c6c28..07e707ab 100644 --- a/note.txt +++ b/note.txt @@ -918,6 +918,18 @@ bash_tips ToDo ------------------------------------------------------------------------------- +2020-01-30 + + * syntax: 何と coproc に対応していない + + 普通のコマンドと同様に処理しておけば取り敢えず問題ないと思っていたが、 + 実際にやってみるとエラー着色になってしまっている。 + そもそも coproc のコマンド部分には特別なコマンドも指定できる。 + + 然し、coproc はどうやって [COPROC] の部分を変数名かコマンド名か判断しているのだろうか。 + 試しに coproc hello echo としたら、hello がコマンド名と認識された。 + というか coproc COPROC echo -e hello としても COPROC がコマンド名として解釈された。 + 2020-01-26 * progcolor: 非同期で実行できる様にする可能性? @@ -2630,6 +2642,9 @@ bash_tips 2020-01-30 + * auto-complete: C-e でも補完確定にするべきなのでは? [#D1250] + 追加した。 + * highlight: pathname に含まれるディレクトリのシンボリックリンク [#D1249] ディレクトリとしての着色になっているが、シンボリックリンクの時には そうなる様に着色した方が親切である。