Basename -s is platform specific, so use Bash's variable expansion instead.
parent
cb4fbd3983
commit
503fc7bede
|
|
@ -10,7 +10,8 @@ then
|
|||
THEMES="$BASH_IT/themes/*/*.theme.bash"
|
||||
for theme in $THEMES
|
||||
do
|
||||
BASH_IT_THEME=$(basename -s '.theme.bash' $theme)
|
||||
BASH_IT_THEME=${theme%.theme.bash}
|
||||
BASH_IT_THEME=${BASH_IT_THEME##*/}
|
||||
echo "
|
||||
$BASH_IT_THEME"
|
||||
echo "" | bash --init-file $BASH_IT/bash_it.sh -i
|
||||
|
|
|
|||
Loading…
Reference in New Issue