Skip to content

Commit

Permalink
main (ble-reload): fix failure by non-existent rcfile
Browse files Browse the repository at this point in the history
  • Loading branch information
akinomyoga committed Feb 1, 2023
1 parent 632e90a commit b7ae2fa
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
3 changes: 2 additions & 1 deletion ble.pp
Expand Up @@ -1605,7 +1605,8 @@ function ble/base/print-usage-for-no-argument-command {
}
function ble-reload {
local -a options=()
ble/array#push options --rcfile="${_ble_base_rcfile:-/dev/null}"
[[ ! -e $_ble_base_rcfile ]] ||
ble/array#push options --rcfile="${_ble_base_rcfile:-/dev/null}"
[[ $_ble_base_arguments_inputrc == auto ]] ||
ble/array#push options --inputrc="$_ble_base_arguments_inputrc"
local name
Expand Down
5 changes: 3 additions & 2 deletions docs/ChangeLog.md
Expand Up @@ -338,7 +338,8 @@
- bind: fix <kbd>M-C-@</kbd>, <kbd>C-x C-@</kbd>, and <kbd>M-C-x</kbd> (`bash-4.2 -o emacs`) `#D1920` a410b03
- complete (action:file): support `ble/syntax-raw` in the filename extraction (reported by qoreQyaS) `#D1921` 32277da
- decode: fix a bug that the tab completion do not work with bash-4.4 and lower `#D1928` 7da9bce
- complete: fix non-working ambiguous path completion with `..` and `.` in the path `#D1930` xxxxxxx
- complete: fix non-working ambiguous path completion with `..` and `.` in the path `#D1930` 632e90a
- main (ble-reload): fix failure by non-existent rcfile `#D1931` xxxxxxx

## Documentation

Expand Down Expand Up @@ -454,7 +455,7 @@
- util (`modifyOtherKeys`): pass-through kitty protocol sequences (motivated by ferdinandyb) `#D1845` f66e0c1
- main: show warning for empty locale (movivated by Ultra980) `#D1927` 92f2006
- main: never load `/etc/inputrc` in openSUSE (motivated by Ultra980) `#D1926` 92f2006
- canvas: refine detection of `bleopt char_width_mode=musl` `#D1929` xxxxxxx
- canvas: refine detection of `bleopt char_width_mode=musl` `#D1929` b0c16dd

## Test

Expand Down
5 changes: 5 additions & 0 deletions note.txt
Expand Up @@ -6848,6 +6848,11 @@ bash_tips

2023-02-01

* main: ble-reload が動かなくなっている [#D1931]

"--rcfile=$HOME/.blerc" を指定して再 source しようとして $HOME/.blerc が存
在しない事によって失敗している

* complete: ../ で始まるパスの曖昧補完が効いていない [#D1930]

../out/data/c2w.wcwidth-compare.musl-vs-12.1.txt[TAB] の曖昧補完が効いていない
Expand Down

0 comments on commit b7ae2fa

Please sign in to comment.