forked from oh-my-fish/theme-budspencer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfish_greeting.fish
executable file
·31 lines (30 loc) · 988 Bytes
/
fish_greeting.fish
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
###############################################################################
#
# prompt theme name:
# budspencer
#
# description:
# a sophisticated airline/powerline theme
#
# author:
# joseph tannhuber <sepp.tannhuber@yahoo.de>
#
# sections:
# -> Welcome message
#
###############################################################################
####################
# => Welcome message
####################
function fish_greeting -d 'Show greeting in login shell.'
if not set -q budspencer_nogreeting
if begin
not set -q -x LOGIN
and not set -q -x RANGER_LEVEL
and not set -q -x VIM
end
echo This is (set_color -b $budspencer_colors[2] $budspencer_colors[10])budspencer(set_color normal) theme for fish, a theme for nerds.
echo Type (set_color -b $budspencer_colors[2] $budspencer_colors[6])»budspencer_help«(set_color normal) in order to see how you can speed up your workflow.
end
end
end