OSDN Git Service

Update docs for le-trim-right option
authormagicant <magicant@048f04df-13f5-43d7-8114-9f9ceecaec24>
Wed, 18 Jan 2023 15:51:29 +0000 (15:51 +0000)
committermagicant <magicant@048f04df-13f5-43d7-8114-9f9ceecaec24>
Wed, 18 Jan 2023 15:51:29 +0000 (15:51 +0000)
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/yash/yash/trunk@4227 048f04df-13f5-43d7-8114-9f9ceecaec24

NEWS
NEWS.ja
THANKS
doc/ja/lineedit.txt
share/completion/set

diff --git a/NEWS b/NEWS
index 78d9cda..87cb940 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -11,6 +11,7 @@ History of Yash
 Yash 2.54 (Unreleased)
 
   +  Changing font style of command line predictions with $PS1P, etc.
+  +  The '--le-trim-right' option.
   =  When the POSIXly-correct mode is active, the shell now refuses to
      execute built-ins POSIX XCU 2.9.1 lists as utilities that cause
      unspecified results. To implement the new behavior, the previous
diff --git a/NEWS.ja b/NEWS.ja
index 340c4ac..c5e8c1b 100644 (file)
--- a/NEWS.ja
+++ b/NEWS.ja
@@ -12,6 +12,7 @@ Yash 2.54 (未リリース)
 
   +  $PS1P 等の変数でコマンドライン推定の表示フォントスタイルを調整
      できるようにした
+  +  --le-trim-right オプション
   =  POSIX 準拠モードでは、POSIX XCU 2.9.1 で動作を規定しないコマンド
      として挙げられている組込みの実行を拒否するようにした。
      準特殊組込みという分類を廃止して必須組込みと任意組込みに分けた。
diff --git a/THANKS b/THANKS
index 1a46958..73d1e79 100644 (file)
--- a/THANKS
+++ b/THANKS
@@ -8,3 +8,5 @@ The author thanks:
 * Adrian Perez, for implementing the le-predict-empty option
 
 * Thomas Vigouroux, for implementing font styling of command line predictions
+
+* leath-dub, for implementing the le-trim-right option
index 6f5adbf..f05ee12 100644 (file)
@@ -53,7 +53,7 @@ link:_set.html#so-levisiblebell[le-visible-bell]::
 シェルが警告を発する際、警告音を鳴らす代わりに端末を点滅させます。
 
 link:_set.html#so-letrimright[le-trim-right]::
-I don't know japenese lol :)
+このオプションが無効な時、右プロンプトは端末右端から 1 マス空けて表示されます。このオプションを有効にすると右プロンプトを右端に付けて表示します。
 
 [[modes]]
 == 編集モード
index d16f630..3f034e0 100644 (file)
@@ -1,4 +1,4 @@
-# (C) 2011-2019 magicant
+# (C) 2011-2023 magicant
 
 # Completion script for the "set" built-in command.
 # Completion function "completion/set" is used for the "ksh" and "yash"
@@ -270,6 +270,7 @@ function completion/set::getopt {
                "levisiblebell; alert with a flash, not a bell"
                "lepromptsp; ensure the prompt is printed at the beginning of a line"
                "lealwaysrp; always show the right prompt during line-editing"
+               "letrimright; trim the space to the right of the right prompt"
                "lecompdebug; print debugging info during command line completion"
                "notifyle; print job status immediately when done while line-editing"
                "nullglob; remove words that matched nothing in pathname expansion"