mirror of
https://github.com/oh-my-fish/oh-my-fish
synced 2024-11-07 15:20:22 +00:00
12 lines
301 B
Fish
12 lines
301 B
Fish
function Theme --argument-names name
|
|
set -g fish_theme $name
|
|
|
|
if [ -e $fish_path/themes/$name -o -e $fish_custom/themes/$name ]
|
|
import themes/$name
|
|
else
|
|
set_color red
|
|
echo "Theme '$name' is not installed. Run 'omf install' to download and install it."
|
|
set_color normal
|
|
end
|
|
end
|