From c9dc557fc1e5a7d3c3fe3f1c51e1601a40d8077c Mon Sep 17 00:00:00 2001 From: Aditya Date: Sun, 26 Feb 2023 20:42:27 +0530 Subject: [PATCH] add fish --- fish/config.fish | 3 +++ fish/config.fish.bak | 19 +++++++++++++++++++ fish/fish_variables | 33 +++++++++++++++++++++++++++++++++ 3 files changed, 55 insertions(+) create mode 100644 fish/config.fish create mode 100755 fish/config.fish.bak create mode 100755 fish/fish_variables diff --git a/fish/config.fish b/fish/config.fish new file mode 100644 index 0000000..d714361 --- /dev/null +++ b/fish/config.fish @@ -0,0 +1,3 @@ +if status is-interactive + # Commands to run in interactive sessions can go here +end diff --git a/fish/config.fish.bak b/fish/config.fish.bak new file mode 100755 index 0000000..75e2bd2 --- /dev/null +++ b/fish/config.fish.bak @@ -0,0 +1,19 @@ +set fish_greeting +set PS1 '[\u@\h \W]\$ ' +function msdos_pwd +{ + local dir="`pwd`" + + echo $dir | tr '/' '\\' +} +end +set PS1 'C:`msdos_pwd`>' +export PS1 + +function fish_prompt + echo "C:$PWD>" +end +echo +echo "Microsoft(R) Windows 95" +echo " (C)Copyright Microsoft Corp 1981-1996." +echo diff --git a/fish/fish_variables b/fish/fish_variables new file mode 100755 index 0000000..9381296 --- /dev/null +++ b/fish/fish_variables @@ -0,0 +1,33 @@ +# This file contains fish universal variable definitions. +# VERSION: 3.0 +SETUVAR __fish_initialized:3400 +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_default_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_pager_color_selected_background:\x2dr