From 75c92bd100a3b6e8c969a15b762f046672e9c644 Mon Sep 17 00:00:00 2001 From: jstmax! Date: Sun, 26 Oct 2025 12:50:30 +0100 Subject: updated fish functions + doing some ordering und scheisse --- cfg/fish_greeting.fish | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 cfg/fish_greeting.fish (limited to 'cfg/fish_greeting.fish') diff --git a/cfg/fish_greeting.fish b/cfg/fish_greeting.fish deleted file mode 100644 index e25c117..0000000 --- a/cfg/fish_greeting.fish +++ /dev/null @@ -1,20 +0,0 @@ -function fish_greeting - if not set -q fish_greeting - set -l line1 (printf (_ 'well-cum to %sfiš%s, the %sevil%s šell!') (set_color red) (set_color normal) (set_color red) (set_color normal)) - set -l line2 \n(printf (_ 'type %snvim%s to use a good text editor.') (set_color red) (set_color normal)) - set -g fish_greeting "$line1$line2" - end - - if set -q fish_private_mode - set -l line (_ "fiš is running in private mode, historia will perish upon closure.") - if set -q fish_greeting[1] - set -g fish_greeting $fish_greeting\n$line - else - set -g fish_greeting $line - end - end - - test -n "$fish_greeting" - and echo $fish_greeting - task # show tasks -end -- cgit v1.3.1