From db9ac527afbd9284214509b2749c0c19ba373612 Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Thu, 1 Apr 2021 14:24:27 +0200 Subject: [PATCH] Sample prompts: Rename prompts named after a single person MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Unless that person directly contributed the prompt. We name them after a feature - the Scales prompt feature a ">>>" which kinda looks like fish scales, the "Arrow" prompt starts with a prominent "➜". Naming them after people looks like an endorsement of that particular person, and like they are someone to look up to, especially when they aren't involved with the project. The "terlar" and "acidhub" prompts stay for now because they contributed the prompt themselves, they are also much less prominent. --- .../sample_prompts/{robbyrussell.fish => arrow.fish} | 6 +++--- .../web_config/sample_prompts/{sorin.fish => scales.fish} | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) rename share/tools/web_config/sample_prompts/{robbyrussell.fish => arrow.fish} (94%) rename share/tools/web_config/sample_prompts/{sorin.fish => scales.fish} (99%) diff --git a/share/tools/web_config/sample_prompts/robbyrussell.fish b/share/tools/web_config/sample_prompts/arrow.fish similarity index 94% rename from share/tools/web_config/sample_prompts/robbyrussell.fish rename to share/tools/web_config/sample_prompts/arrow.fish index e630688ba..3d99f1adc 100644 --- a/share/tools/web_config/sample_prompts/robbyrussell.fish +++ b/share/tools/web_config/sample_prompts/arrow.fish @@ -1,11 +1,11 @@ -# name: Robbyrussell +# name: Arrow # author: Bruno Ferreira Pinto, Pawel Zubrycki function fish_prompt set -l __last_command_exit_status $status - if not set -q -g __fish_robbyrussell_functions_defined - set -g __fish_robbyrussell_functions_defined + if not set -q -g __fish_arrow_functions_defined + set -g __fish_arrow_functions_defined function _git_branch_name set -l branch (git symbolic-ref --quiet HEAD 2>/dev/null) if set -q branch[1] diff --git a/share/tools/web_config/sample_prompts/sorin.fish b/share/tools/web_config/sample_prompts/scales.fish similarity index 99% rename from share/tools/web_config/sample_prompts/sorin.fish rename to share/tools/web_config/sample_prompts/scales.fish index c2016988b..b20857b9b 100644 --- a/share/tools/web_config/sample_prompts/sorin.fish +++ b/share/tools/web_config/sample_prompts/scales.fish @@ -1,4 +1,4 @@ -# name: Sorin +# name: Scales # author: Leonard Hecker # Sources: