From e7764f9b08072cfb67c2d3ecf075df9a80aee6fd Mon Sep 17 00:00:00 2001 From: Deposite Pirate Date: Sun, 12 Jan 2025 14:40:33 +0100 Subject: Import config. --- functions/fish_greeting.fish | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 functions/fish_greeting.fish (limited to 'functions/fish_greeting.fish') diff --git a/functions/fish_greeting.fish b/functions/fish_greeting.fish new file mode 100644 index 0000000..2c8193d --- /dev/null +++ b/functions/fish_greeting.fish @@ -0,0 +1,27 @@ +function fish_greeting + + if not set -q TMUX + + if set -q SSH_CONNECTION + if command -sq fastfetch + fastfetch -c paleofetch.jsonc + end + + if command -sq bsdfetch + bsdfetch + end + end + + if command -sq fortune + if string match -q -e 'Linux' (uname) + echo + fortune linux + echo + else + fortune + end + end + + end + +end -- cgit v1.3.1