minor visual changes
This commit is contained in:
parent
ee4163f37b
commit
1b94f147e5
15 changed files with 50 additions and 107 deletions
|
@ -1,37 +1,37 @@
|
|||
# This file contains fish universal variable definitions.
|
||||
# VERSION: 3.0
|
||||
SETUVAR __fish_initialized:3400
|
||||
SETUVAR fish_color_autosuggestion:737994
|
||||
SETUVAR fish_color_cancel:e78284
|
||||
SETUVAR fish_color_command:8caaee
|
||||
SETUVAR fish_color_comment:838ba7
|
||||
SETUVAR fish_color_cwd:e5c890
|
||||
SETUVAR fish_color_autosuggestion:6e738d
|
||||
SETUVAR fish_color_cancel:ed8796
|
||||
SETUVAR fish_color_command:8aadf4
|
||||
SETUVAR fish_color_comment:8087a2
|
||||
SETUVAR fish_color_cwd:eed49f
|
||||
SETUVAR fish_color_cwd_root:red
|
||||
SETUVAR fish_color_end:ef9f76
|
||||
SETUVAR fish_color_error:e78284
|
||||
SETUVAR fish_color_escape:ea999c
|
||||
SETUVAR fish_color_gray:737994
|
||||
SETUVAR fish_color_end:f5a97f
|
||||
SETUVAR fish_color_error:ed8796
|
||||
SETUVAR fish_color_escape:ee99a0
|
||||
SETUVAR fish_color_gray:6e738d
|
||||
SETUVAR fish_color_history_current:\x2d\x2dbold
|
||||
SETUVAR fish_color_host:8caaee
|
||||
SETUVAR fish_color_host_remote:a6d189
|
||||
SETUVAR fish_color_keyword:e78284
|
||||
SETUVAR fish_color_normal:c6d0f5
|
||||
SETUVAR fish_color_operator:f4b8e4
|
||||
SETUVAR fish_color_host:8aadf4
|
||||
SETUVAR fish_color_host_remote:a6da95
|
||||
SETUVAR fish_color_keyword:ed8796
|
||||
SETUVAR fish_color_normal:cad3f5
|
||||
SETUVAR fish_color_operator:f5bde6
|
||||
SETUVAR fish_color_option:\x1d
|
||||
SETUVAR fish_color_param:eebebe
|
||||
SETUVAR fish_color_quote:a6d189
|
||||
SETUVAR fish_color_redirection:f4b8e4
|
||||
SETUVAR fish_color_search_match:\x2d\x2dbackground\x3d414559
|
||||
SETUVAR fish_color_selection:\x2d\x2dbackground\x3d414559
|
||||
SETUVAR fish_color_status:e78284
|
||||
SETUVAR fish_color_user:81c8be
|
||||
SETUVAR fish_color_param:f0c6c6
|
||||
SETUVAR fish_color_quote:a6da95
|
||||
SETUVAR fish_color_redirection:f5bde6
|
||||
SETUVAR fish_color_search_match:\x2d\x2dbackground\x3d363a4f
|
||||
SETUVAR fish_color_selection:\x2d\x2dbackground\x3d363a4f
|
||||
SETUVAR fish_color_status:ed8796
|
||||
SETUVAR fish_color_user:8bd5ca
|
||||
SETUVAR fish_color_valid_path:\x2d\x2dunderline
|
||||
SETUVAR fish_key_bindings:fish_vi_key_bindings
|
||||
SETUVAR fish_pager_color_background:\x1d
|
||||
SETUVAR fish_pager_color_completion:c6d0f5
|
||||
SETUVAR fish_pager_color_description:737994
|
||||
SETUVAR fish_pager_color_prefix:f4b8e4
|
||||
SETUVAR fish_pager_color_progress:737994
|
||||
SETUVAR fish_pager_color_completion:cad3f5
|
||||
SETUVAR fish_pager_color_description:6e738d
|
||||
SETUVAR fish_pager_color_prefix:f5bde6
|
||||
SETUVAR fish_pager_color_progress:6e738d
|
||||
SETUVAR fish_pager_color_secondary_background:\x1d
|
||||
SETUVAR fish_pager_color_secondary_completion:\x1d
|
||||
SETUVAR fish_pager_color_secondary_description:\x1d
|
||||
|
@ -40,5 +40,4 @@ SETUVAR fish_pager_color_selected_background:\x1d
|
|||
SETUVAR fish_pager_color_selected_completion:\x1d
|
||||
SETUVAR fish_pager_color_selected_description:\x1d
|
||||
SETUVAR fish_pager_color_selected_prefix:\x1d
|
||||
SETUVAR fish_user_paths:/home/tsousa/\x2econfig/emacs/bin\x1e/home/tsousa/\x2elocal/share/nvim/mason/bin\x1e/home/tsousa/\x2erustup/toolchains/nightly\x2dx86_64\x2dunknown\x2dlinux\x2dgnu/bin
|
||||
SETUVAR fish_user_paths:/home/tsousa/\x2econfig/emacs/bin\x1e/home/tsousa/\x2ecargo/bin\x1e/home/tsousa/\x2elocal/share/nvim/mason/bin\x1e/home/tsousa/\x2erustup/toolchains/nightly\x2dx86_64\x2dunknown\x2dlinux\x2dgnu/bin
|
||||
|
|
3
.config/fish/functions/conf.fish
Normal file
3
.config/fish/functions/conf.fish
Normal file
|
@ -0,0 +1,3 @@
|
|||
function conf --wraps='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME' --description 'Git command to manage dotfiles'
|
||||
/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME $argv
|
||||
end
|
|
@ -1,3 +0,0 @@
|
|||
function config --wraps='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME' --description 'Git command to manage dotfiles'
|
||||
/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME $argv
|
||||
end
|
|
@ -1,30 +0,0 @@
|
|||
function fish_prompt --description 'Write out the prompt'
|
||||
set -l last_status $status
|
||||
set -l normal (set_color normal)
|
||||
set -l status_color (set_color brgreen)
|
||||
set -l cwd_color (set_color $fish_color_cwd)
|
||||
set -l vcs_color (set_color brpurple)
|
||||
set -l prompt_status ""
|
||||
|
||||
# Since we display the prompt on a new line allow the directory names to be longer.
|
||||
set -q fish_prompt_pwd_dir_length
|
||||
or set -lx fish_prompt_pwd_dir_length 0
|
||||
|
||||
# Color the prompt differently when we're root
|
||||
set -l suffix '❯'
|
||||
if functions -q fish_is_root_user; and fish_is_root_user
|
||||
if set -q fish_color_cwd_root
|
||||
set cwd_color (set_color $fish_color_cwd_root)
|
||||
end
|
||||
set suffix '#'
|
||||
end
|
||||
|
||||
# Color the prompt in red on error
|
||||
if test $last_status -ne 0
|
||||
set status_color (set_color $fish_color_error)
|
||||
set prompt_status $status_color "[" $last_status "]" $normal
|
||||
end
|
||||
|
||||
echo -s (prompt_login) ' ' $cwd_color (prompt_pwd) $vcs_color (fish_vcs_prompt) $normal ' ' $prompt_status
|
||||
echo -n -s $status_color $suffix ' ' $normal
|
||||
end
|
|
@ -1,30 +0,0 @@
|
|||
function fish_prompt --description 'Write out the prompt'
|
||||
set -l last_status $status
|
||||
set -l normal (set_color normal)
|
||||
set -l status_color (set_color brgreen)
|
||||
set -l cwd_color (set_color $fish_color_cwd)
|
||||
set -l vcs_color (set_color brpurple)
|
||||
set -l prompt_status ""
|
||||
|
||||
# Since we display the prompt on a new line allow the directory names to be longer.
|
||||
set -q fish_prompt_pwd_dir_length
|
||||
or set -lx fish_prompt_pwd_dir_length 0
|
||||
|
||||
# Color the prompt differently when we're root
|
||||
set -l suffix '❯'
|
||||
if functions -q fish_is_root_user; and fish_is_root_user
|
||||
if set -q fish_color_cwd_root
|
||||
set cwd_color (set_color $fish_color_cwd_root)
|
||||
end
|
||||
set suffix '#'
|
||||
end
|
||||
|
||||
# Color the prompt in red on error
|
||||
if test $last_status -ne 0
|
||||
set status_color (set_color $fish_color_error)
|
||||
set prompt_status $status_color "[" $last_status "]" $normal
|
||||
end
|
||||
|
||||
echo -s (prompt_login) ' ' $cwd_color (prompt_pwd) $vcs_color (fish_vcs_prompt) $normal ' ' $prompt_status
|
||||
echo -n -s $status_color $suffix ' ' $normal
|
||||
end
|
|
@ -1,2 +0,0 @@
|
|||
function fish_right_prompt
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue