tweak: fish greeting
This commit is contained in:
parent
6087fc815b
commit
4f7f22c553
1 changed files with 1 additions and 10 deletions
|
|
@ -74,22 +74,13 @@
|
||||||
# fish functions
|
# fish functions
|
||||||
functions = {
|
functions = {
|
||||||
|
|
||||||
# foo
|
|
||||||
foo = ''
|
|
||||||
if bar
|
|
||||||
printf 'foo'
|
|
||||||
else
|
|
||||||
echo loser
|
|
||||||
end
|
|
||||||
'';
|
|
||||||
|
|
||||||
# greeter function
|
# greeter function
|
||||||
fish_greeting = ''
|
fish_greeting = ''
|
||||||
if type -q kitty-img
|
if type -q kitty-img
|
||||||
printf '<3 hiya serenity '
|
printf '<3 hiya serenity '
|
||||||
echo 'welcome to $hostname' "~" :flag:
|
echo 'welcome to $hostname' "~" :flag:
|
||||||
else
|
else
|
||||||
echo <heart hira ${user-parts.user.username}, welcome to $hostname "~" :flag:
|
echo hiya ${user-parts.user.username}, welcome to $hostname "~"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue