diff options
author | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2014-06-14 21:45:43 -0700 |
---|---|---|
committer | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2014-06-14 21:45:43 -0700 |
commit | 03f16084ba254b4025db4e928c37d158ba427f21 (patch) | |
tree | 8ee16ac7f0fe12ad3e390848e87e820948d968aa | |
parent | 1523a23a87befb47751cf43479ee3f17a847e8f3 (diff) | |
download | rbpm-03f16084ba254b4025db4e928c37d158ba427f21.tar.gz rbpm-03f16084ba254b4025db4e928c37d158ba427f21.tar.xz |
Move asterisk to front for better visibility.
-rwxr-xr-x | rpath.sh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -107,9 +107,9 @@ rpath_ls() { current=$(_get | head -n 1) for dir in "${dirs[@]}"; do - str="[$((++counter))] ${dir##*/}" + str=" [$((++counter))] ${dir##*/}" - [[ "${dir##*/}" == "${current}" ]] && str+=" *" + [[ "${dir##*/}" == "${current}" ]] && str="${str/ /*}" _echo "${str}" done |