Make installation friendlier

This commit is contained in:
Ilan Cosman 2020-04-02 17:12:55 -07:00
parent cb009029b8
commit a0aa53a443

View File

@ -1,11 +1,14 @@
#!/bin/bash
#!/bin/fish
echo "Installing lean theme..."
# -------------------Download Files-------------------
set fileDestination $__fish_config_dir/functions
set githubLocation "https://raw.githubusercontent.com/IlanCosman/lean/master/"
wget -P $fileDestination $githubLocation/fish_prompt.fish
wget -P $fileDestination $githubLocation/lean_pwd.fish
wget -P $fileDestination $githubLocation/lean_git_prompt.fish
wget -q -P $fileDestination $githubLocation/fish_prompt.fish
wget -q -P $fileDestination $githubLocation/lean_pwd.fish
wget -q -P $fileDestination $githubLocation/lean_git_prompt.fish
# ----------------Set Theme Variables----------------
# ---------------Pwd---------------
@ -32,4 +35,6 @@ set -U __fish_git_prompt_color_upstream 5FD700
set -U __fish_git_prompt_color_stagedstate D7AF00
set -U __fish_git_prompt_color_dirtystate D7AF00
set -U __fish_git_prompt_color_untrackedfiles 00AFFF
set -U __fish_git_prompt_color_stashstate 5FD700
set -U __fish_git_prompt_color_stashstate 5FD700
echo "Lean theme installed! Restart fish to see your new prompt."