From 2990216a8b291d65b0d0b62762f665ce85977668 Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Sat, 11 Apr 2020 12:06:57 +0200 Subject: [PATCH] bundles/users: add fish_variables --- bundles/users/files/fish_variables | 32 ++++++++++++++++++++++++++++++ bundles/users/items.py | 1 + 2 files changed, 33 insertions(+) create mode 100644 bundles/users/files/fish_variables diff --git a/bundles/users/files/fish_variables b/bundles/users/files/fish_variables new file mode 100644 index 0000000..573512c --- /dev/null +++ b/bundles/users/files/fish_variables @@ -0,0 +1,32 @@ +# This file contains fish universal variable definitions. +# VERSION: 3.0 +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_features:stderr\x2dnocaret\x1eqmark\x2dnoglob +SETUVAR fish_greeting:Welcome\x20to\x20fish\x2c\x20the\x20friendly\x20interactive\x20shell +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 diff --git a/bundles/users/items.py b/bundles/users/items.py index 5a54d8c..74a9f94 100644 --- a/bundles/users/items.py +++ b/bundles/users/items.py @@ -73,6 +73,7 @@ for username, attrs in node.metadata['users'].items(): 'content_type': 'mako', 'source': fish_src } + files[home + '/.config/fish/fish_variables'] = {} if exists(join(repo.path, 'data', 'users', 'files', 'bash', '{}.bashrc'.format(username))): files[home + '/.bashrc'] = {