summaryrefslogtreecommitdiffstats
path: root/fish/functions/fish_greeting.fish
diff options
context:
space:
mode:
authorChristoph Schlosser <christoph@linux.com>2025-06-13 15:59:03 +0200
committerChristoph Schlosser <christoph@linux.com>2025-06-13 15:59:03 +0200
commitef9e297ee7cec55b3d2ee2eeae63f466206e1a24 (patch)
tree1fe10b5484982ae855f70a767961bfc025b8ab67 /fish/functions/fish_greeting.fish
parent502a762ab860f6befa40e8503dd69ea712a86a94 (diff)
downloaddots-ef9e297ee7cec55b3d2ee2eeae63f466206e1a24.tar.gz
Add first dump of fish config files
Diffstat (limited to 'fish/functions/fish_greeting.fish')
-rw-r--r--fish/functions/fish_greeting.fish9
1 files changed, 9 insertions, 0 deletions
diff --git a/fish/functions/fish_greeting.fish b/fish/functions/fish_greeting.fish
new file mode 100644
index 0000000..e468ce0
--- /dev/null
+++ b/fish/functions/fish_greeting.fish
@@ -0,0 +1,9 @@
+function fish_greeting -d "What's up, fish?"
+ set_color $fish_color_autosuggestion
+ uname -nmsr
+
+ command -q uptime
+ and command uptime
+
+ set_color normal
+end