fixed bug #199

parent 2017a02c
...@@ -36,6 +36,9 @@ started at the same time [Mingye Wang] ...@@ -36,6 +36,9 @@ started at the same time [Mingye Wang]
@item #198 (nx-rc): fixup detection of vendor ini version on first load of nx-rc @item #198 (nx-rc): fixup detection of vendor ini version on first load of nx-rc
if no user ini exists if no user ini exists
@item #199 (reload): fixup reload to properly restore the complete environment,
including BashStyle-NG and Bash Programmable Completion.
@end itemize @end itemize
@item Configuration File Changes @item Configuration File Changes
......
...@@ -324,6 +324,8 @@ reload () { ...@@ -324,6 +324,8 @@ reload () {
#xk2c from commandlinefu.com #xk2c from commandlinefu.com
builtin unalias -a builtin unalias -a
builtin unset -f $(builtin compgen -A function) builtin unset -f $(builtin compgen -A function)
[[ -f /etc/bash_completion ]] && source /etc/bash_completion
source @DATADIR@/bashstyle-ng/rc/nx-rc
} }
[[ ${PATH} != *games* && -d /usr/games/ ]] && \ [[ ${PATH} != *games* && -d /usr/games/ ]] && \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment