mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
Add function to list favorite themes
This commit is contained in:
parent
45dc772c7c
commit
cfd683a991
1 changed files with 6 additions and 0 deletions
|
|
@ -50,6 +50,12 @@ function extract() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function favorite_themes() {
|
||||||
|
for theme in `ls $FAVORITE_THEMES_DIR`; do
|
||||||
|
echo $theme
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
||||||
function get_current_theme() {
|
function get_current_theme() {
|
||||||
echo `basename $RANDOM_THEME`
|
echo `basename $RANDOM_THEME`
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue