mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2025-02-09 07:17:14 +08:00
10 lines
275 B
Fish
10 lines
275 B
Fish
![]() |
function Theme --argument-names 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 'fish install' to download and install it."
|
||
|
set_color normal
|
||
|
end
|
||
|
end
|