mirror of
https://github.com/IlanCosman/tide.git
synced 2024-11-23 08:46:51 +03:00
Add install script
This commit is contained in:
parent
366adfa35e
commit
cb009029b8
@ -1,3 +1,11 @@
|
||||
# Lean
|
||||
|
||||
A minimal Fish theme based on [Powerlevel10k](https://github.com/romkatv/powerlevel10k/)'s lean style.
|
||||
|
||||
# Install
|
||||
|
||||
Run the install script:
|
||||
|
||||
```sh
|
||||
curl https://raw.githubusercontent.com/IlanCosman/lean/master/install.fish | fish
|
||||
```
|
||||
|
20
install.fish
20
install.fish
@ -1,13 +1,23 @@
|
||||
# ------------------------Pwd------------------------
|
||||
#!/bin/bash
|
||||
# -------------------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
|
||||
|
||||
# ----------------Set Theme Variables----------------
|
||||
# ---------------Pwd---------------
|
||||
set -U fish_prompt_pwd_dir_length 0
|
||||
set -U lean_shorten_pwd_margin 5
|
||||
set -U lean_color_prompt_character 5FD700
|
||||
set -U lean_color_end_dirs 00AFFF
|
||||
set -U lean_color_mid_dirs 0087AF
|
||||
|
||||
# ---------------------Git prompt---------------------
|
||||
# ------------Git prompt------------
|
||||
set -U __fish_git_prompt_show_informative_status true
|
||||
set -U __fish_git_prompt_showstashstate true
|
||||
# -------------Symbols-------------
|
||||
# -------Symbols-------
|
||||
set -U __fish_git_prompt_char_stateseparator ""
|
||||
set -U __fish_git_prompt_char_cleanstate ""
|
||||
set -U __fish_git_prompt_char_upstream_ahead " ⇡"
|
||||
@ -16,7 +26,7 @@ set -U __fish_git_prompt_char_stagedstate " +"
|
||||
set -U __fish_git_prompt_char_dirtystate ' !'
|
||||
set -U __fish_git_prompt_char_untrackedfiles ' ?'
|
||||
set -U __fish_git_prompt_char_stashstate " *"
|
||||
# --------------Colors--------------
|
||||
# --------Colors--------
|
||||
set -U __fish_git_prompt_color_branch 5FD700
|
||||
set -U __fish_git_prompt_color_upstream 5FD700
|
||||
set -U __fish_git_prompt_color_stagedstate D7AF00
|
||||
|
Loading…
Reference in New Issue
Block a user