diff options
Diffstat (limited to 'archive/fish')
-rw-r--r-- | archive/fish/config.fish | 20 | ||||
-rw-r--r-- | archive/fish/fish_variables | 33 | ||||
-rw-r--r-- | archive/fish/functions/fish_prompt.fish | 23 |
3 files changed, 76 insertions, 0 deletions
diff --git a/archive/fish/config.fish b/archive/fish/config.fish new file mode 100644 index 00000000..1b61180c --- /dev/null +++ b/archive/fish/config.fish @@ -0,0 +1,20 @@ +set fish_greeting # disable welcome message +fish_vi_key_bindings +neofetch + + +# aliases +alias waifu='cd /zt/waifu' +alias docs='cd /zt/Docs' +alias zt='/zt/' +alias progs='/zt/Programs/' +alias scripts='~/.config/scripts/' +alias goproj='/zt/Docs/Go/src/github.com/MikunoNaka' + +alias pf='clear && pfetch' +alias rm='rm -i' +alias ls='exa -l' +alias la='exa -a' +alias lsa='exa -al' +alias nf='neofetch' +alias vim='nvim' diff --git a/archive/fish/fish_variables b/archive/fish/fish_variables new file mode 100644 index 00000000..bff725f5 --- /dev/null +++ b/archive/fish/fish_variables @@ -0,0 +1,33 @@ +# This file contains fish universal variable definitions. +# VERSION: 3.0 +SETUVAR __fish_initialized:3100 +SETUVAR fish_color_autosuggestion:555\x1ebrblack +SETUVAR fish_color_cancel:\x2dr +SETUVAR fish_color_command:005fd7 +SETUVAR fish_color_comment:990000 +SETUVAR fish_color_cwd:green +SETUVAR fish_color_cwd_root:red +SETUVAR fish_color_end:009900 +SETUVAR fish_color_error:ff0000 +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:00afff +SETUVAR fish_color_quote:999900 +SETUVAR fish_color_redirection:00afff +SETUVAR fish_color_search_match:bryellow\x1e\x2d\x2dbackground\x3dbrblack +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:\x1d +SETUVAR fish_key_bindings:fish_vi_key_bindings +SETUVAR fish_pager_color_completion:\x1d +SETUVAR fish_pager_color_description:B3A06D\x1eyellow +SETUVAR fish_pager_color_prefix:white\x1e\x2d\x2dbold\x1e\x2d\x2dunderline +SETUVAR fish_pager_color_progress:brwhite\x1e\x2d\x2dbackground\x3dcyan +SETUVAR fish_user_paths:/home/zt/\x2elocal/bin\x1e/zt/Programs\x1e/home/zt/\x2econfig/scripts diff --git a/archive/fish/functions/fish_prompt.fish b/archive/fish/functions/fish_prompt.fish new file mode 100644 index 00000000..b8371e5c --- /dev/null +++ b/archive/fish/functions/fish_prompt.fish @@ -0,0 +1,23 @@ +set __fish_git_prompt_showcolorhints + +set __fish_git_prompt_color_branch 0a4efc --bold +set __fish_git_prompt_color_dirtystate white +set __fish_git_prompt_color_invalidstate red +set __fish_git_prompt_color_merging yellow +set __fish_git_prompt_color_stagedstate yellow +set __fish_git_prompt_color_upstream_ahead green +set __fish_git_prompt_color_upstream_behind red + +function fish_prompt + set last_status $status + + set_color fc0a4a --bold + printf '%s' (prompt_pwd) + + set_color normal + printf '%s ' (__fish_git_prompt) + set_color 5c64db + + echo -n " " + set_color normal +end |