aboutsummaryrefslogtreecommitdiffhomepage
path: root/.config/fish/functions/fish_greeting.fish
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2021-05-31 00:57:13 +0900
committernsfisis <nsfisis@gmail.com>2021-05-31 00:57:13 +0900
commit77db37d3506edd006c0d4edc8b216d869a06f30b (patch)
tree6cc6cb455ad32244c89002abc4fb54cb2d70af81 /.config/fish/functions/fish_greeting.fish
parent98be04b9ddb9ce3b0a8c41c74cb57460f1d872eb (diff)
downloaddotfiles-77db37d3506edd006c0d4edc8b216d869a06f30b.tar.gz
dotfiles-77db37d3506edd006c0d4edc8b216d869a06f30b.tar.zst
dotfiles-77db37d3506edd006c0d4edc8b216d869a06f30b.zip
fish shell
Diffstat (limited to '.config/fish/functions/fish_greeting.fish')
-rw-r--r--.config/fish/functions/fish_greeting.fish29
1 files changed, 29 insertions, 0 deletions
diff --git a/.config/fish/functions/fish_greeting.fish b/.config/fish/functions/fish_greeting.fish
new file mode 100644
index 0000000..0b2d131
--- /dev/null
+++ b/.config/fish/functions/fish_greeting.fish
@@ -0,0 +1,29 @@
+function fish_greeting
+ if [ $COLUMNS -lt 60 ]
+ echo
+ set_color --bold --italic 2188a0; echo ' Hello, World!'
+ set_color normal
+ set_color 166caa; echo ' ~~~~~~~~~~~~~~~~'
+ set_color 556a7d; echo ' ::<>'
+ set_color normal
+ echo
+ return
+ end
+
+ echo
+ set_color --bold
+ set_color 2aa197; echo ' _ _ _ _ __ __ _ _ _'
+ set_color 25949c; echo ' | | | | ___| | | ___ \ \ / /__ _ __| | __| | |'
+ set_color 2188a0; echo ' | |_| |/ _ \ | |/ _ \ \ \ /\ / / _ \| \'__| |/ _` | |'
+ set_color 1d7ea4; echo ' | _ | __/ | | (_) | \ V V / (_) | | | | (_| |_|'
+ set_color 1a75a7; echo ' |_| |_|\___|_|_|\___( ) \_/\_/ \___/|_| |_|\__,_(_)'
+ set_color 166caa; echo ' |/'
+ echo
+ set_color normal
+ set_color 166caa; echo ' ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~'
+ set_color 556a7d; echo ' ::<> ::<> ::<>'
+ set_color 556a7d; echo ' ::<> ::<> ::<> ::<>'
+ set_color 556a7d; echo ' ::<> ::<> ::<> ::<>'
+ set_color 556a7d; echo ' ::<> ::<> ::<>'
+ echo
+end