append POWERLEVEL9K_SHORTEN_DELIMITER when shortening with truncate_to_unique; use * as default in this case
This commit is contained in:
parent
15e7d74087
commit
3c5b52750e
2 changed files with 7 additions and 4 deletions
|
@ -32,8 +32,10 @@ function set_default() {
|
|||
}
|
||||
|
||||
function _p9k_g_expand() {
|
||||
(( $+parameters[$1] )) || return
|
||||
local -a ts=("${=$(typeset -p $1)}")
|
||||
shift ts
|
||||
local x
|
||||
for x in "${ts[@]}"; do
|
||||
[[ $x == -* ]] || break
|
||||
# Don't change readonly variables. Ideally, we shouldn't modify any variables at all,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue