Skip to content

Commit

Permalink
NEWS: Default $HISTFILE changed
Browse files Browse the repository at this point in the history
  • Loading branch information
magicant committed Feb 2, 2025
1 parent 106cded commit 74de401
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
6 changes: 6 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@
- Fixed a potential crash caused by an expansion error in nested
parameter expansion.
- Updated the sample initialization script (yashrc):
- The default `$HISTFILE` is now set to
`${XDG_STATE_HOME}/yash/history` unless `${HOME}/.yash_history`
exists, in which case the latter is used and a warning is
printed. To suppress the warning and keep using the previous
location, you can set the `$HISTFILE` variable before the sample
initialization script is sourced.
- Added aliases h='fc -l' and j='jobs'.
- Added the wrapper function for `doas` in an attempt to remove the
misleading terminal title.
Expand Down
5 changes: 5 additions & 0 deletions NEWS.ja
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@
- 入れ子のパラメーター展開で展開エラー発生時にクラッシュする可能性
があったのを修正
- 初期化スクリプト (yashrc) のサンプルを更新:
- デフォルトの `$HISTFILE` を `${XDG_STATE_HOME}/yash/history` に
変更した。ただし `${HOME}/.yash_history` が存在する場合は警告を
表示しそちらを使用する。警告を抑止して以前のファイルパスを使い
続けたい場合は、サンプルの初期化スクリプトが読み込まれる前に
`$HISTFILE` を設定しておけばよい。
- エイリアス定義 h='fc -l' および j='jobs' を追加
- `doas` コマンドのラッパー関数を追加し、端末に紛らわしいウィンドウ
タイトルが表示されるのを避けるようにした
Expand Down

0 comments on commit 74de401

Please sign in to comment.