diff options
| author | bozo.kopic <bozo@kopic.xyz> | 2020-12-16 02:12:41 +0100 |
|---|---|---|
| committer | bozo.kopic <bozo@kopic.xyz> | 2020-12-16 02:12:41 +0100 |
| commit | 004162c05e42a2f2645ca06702567967b1d88961 (patch) | |
| tree | 18319b9654b8ec561524a58fed0fd3af7131647e /fish | |
| parent | 2f694c9ab1416de12d6c5da47d384a625662edf1 (diff) | |
.
Diffstat (limited to 'fish')
| -rw-r--r-- | fish/config.fish | 0 | ||||
| -rw-r--r-- | fish/fish_variables | 33 | ||||
| l--------- | fish/functions/br.fish | 1 | ||||
| -rw-r--r-- | fish/functions/fish_prompt.fish | 83 |
4 files changed, 0 insertions, 117 deletions
diff --git a/fish/config.fish b/fish/config.fish deleted file mode 100644 index e69de29..0000000 --- a/fish/config.fish +++ /dev/null diff --git a/fish/fish_variables b/fish/fish_variables deleted file mode 100644 index 9395dfc..0000000 --- a/fish/fish_variables +++ /dev/null @@ -1,33 +0,0 @@ -# This file contains fish universal variable definitions. -# VERSION: 3.0 -SETUVAR __fish_init_2_3_0:\x1d -SETUVAR __fish_initialized:3100 -SETUVAR fish_color_autosuggestion:586e75 -SETUVAR fish_color_cancel:\x2dr -SETUVAR fish_color_command:normal -SETUVAR fish_color_comment:586e75 -SETUVAR fish_color_cwd:green -SETUVAR fish_color_cwd_root:red -SETUVAR fish_color_end:268bd2 -SETUVAR fish_color_error:dc322f -SETUVAR fish_color_escape:00a6b2 -SETUVAR fish_color_history_current:\x2d\x2dbold -SETUVAR fish_color_host:normal -SETUVAR fish_color_host_remote:yellow -SETUVAR fish_color_match:\x2d\x2dbackground\x3dbrblue -SETUVAR fish_color_normal:normal -SETUVAR fish_color_operator:00a6b2 -SETUVAR fish_color_param:normal -SETUVAR fish_color_quote:657b83 -SETUVAR fish_color_redirection:6c71c4 -SETUVAR fish_color_search_match:bryellow\x1e\x2d\x2dbackground\x3dblack -SETUVAR fish_color_selection:white\x1e\x2d\x2dbold\x1e\x2d\x2dbackground\x3dbrblack -SETUVAR fish_color_status:red -SETUVAR fish_color_user:brgreen -SETUVAR fish_color_valid_path:\x2d\x2dunderline -SETUVAR fish_greeting: -SETUVAR fish_key_bindings:fish_default_key_bindings -SETUVAR fish_pager_color_completion:B3A06D -SETUVAR fish_pager_color_description:B3A06D -SETUVAR fish_pager_color_prefix:cyan\x1e\x2d\x2dunderline -SETUVAR fish_pager_color_progress:brwhite\x1e\x2d\x2dbackground\x3dcyan diff --git a/fish/functions/br.fish b/fish/functions/br.fish deleted file mode 120000 index f2aec65..0000000 --- a/fish/functions/br.fish +++ /dev/null @@ -1 +0,0 @@ -/home/bozo/.local/share/broot/launcher/fish/br.fish
\ No newline at end of file diff --git a/fish/functions/fish_prompt.fish b/fish/functions/fish_prompt.fish deleted file mode 100644 index 47cedee..0000000 --- a/fish/functions/fish_prompt.fish +++ /dev/null @@ -1,83 +0,0 @@ -function fish_prompt - - set -l last_status $status - - set -l color_host $fish_color_host - set -l color_cwd $fish_color_cwd - set -l suffix '$' - - if set -q SSH_TTY - set color_host $fish_color_host_remote - end - - if test "$USER" = "root" - set color_cwd $fish_color_cwd_root - set suffix '#' - end - - if not set -q __fish_git_prompt_show_informative_status - set -g __fish_git_prompt_show_informative_status 1 - end - if not set -q __fish_git_prompt_hide_untrackedfiles - set -g __fish_git_prompt_hide_untrackedfiles 1 - end - - if not set -q __fish_git_prompt_color_branch - set -g __fish_git_prompt_color_branch magenta --bold - end - if not set -q __fish_git_prompt_showupstream - set -g __fish_git_prompt_showupstream "informative" - end - if not set -q __fish_git_prompt_char_upstream_ahead - set -g __fish_git_prompt_char_upstream_ahead "↑" - end - if not set -q __fish_git_prompt_char_upstream_behind - set -g __fish_git_prompt_char_upstream_behind "↓" - end - if not set -q __fish_git_prompt_char_upstream_prefix - set -g __fish_git_prompt_char_upstream_prefix "" - end - - if not set -q __fish_git_prompt_char_stagedstate - set -g __fish_git_prompt_char_stagedstate "● " - end - if not set -q __fish_git_prompt_char_dirtystate - set -g __fish_git_prompt_char_dirtystate "✚ " - end - if not set -q __fish_git_prompt_char_untrackedfiles - set -g __fish_git_prompt_char_untrackedfiles "…" - end - if not set -q __fish_git_prompt_char_invalidstate - set -g __fish_git_prompt_char_invalidstate "✖" - end - if not set -q __fish_git_prompt_char_cleanstate - set -g __fish_git_prompt_char_cleanstate "✔" - end - - if not set -q __fish_git_prompt_color_dirtystate - set -g __fish_git_prompt_color_dirtystate blue - end - if not set -q __fish_git_prompt_color_stagedstate - set -g __fish_git_prompt_color_stagedstate yellow - end - if not set -q __fish_git_prompt_color_invalidstate - set -g __fish_git_prompt_color_invalidstate red - end - if not set -q __fish_git_prompt_color_untrackedfiles - set -g __fish_git_prompt_color_untrackedfiles $fish_color_normal - end - if not set -q __fish_git_prompt_color_cleanstate - set -g __fish_git_prompt_color_cleanstate green --bold - end - - echo -n -s \ - (set_color normal) "[" \ - (set_color $fish_color_user) "$USER" \ - (set_color normal) @ \ - (set_color $color_host) (hostname) \ - (set_color normal) " " \ - (set_color $color_cwd) (prompt_pwd) \ - (set_color normal) (__fish_vcs_prompt) \ - (set_color normal) "]" $suffix " " - -end |
