mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
fish: formatted fish functions
This commit is contained in:
parent
6169d1e7ff
commit
667dce99d1
15 changed files with 176 additions and 176 deletions
|
|
@ -1,14 +1,14 @@
|
|||
function fish_greeting
|
||||
set_color --italics
|
||||
switch $FISH_GREETING
|
||||
case "toh"
|
||||
cat ~/.quotes/toh/* | shuf -n 1
|
||||
case "fleabag"
|
||||
cat ~/.quotes/fleabag/* | shuf -n 1
|
||||
case "date"
|
||||
date
|
||||
case "citation"
|
||||
~/.local/bin/citation.py
|
||||
case "*"
|
||||
end
|
||||
set_color --italics
|
||||
switch $FISH_GREETING
|
||||
case toh
|
||||
cat ~/.quotes/toh/* | shuf -n 1
|
||||
case fleabag
|
||||
cat ~/.quotes/fleabag/* | shuf -n 1
|
||||
case date
|
||||
date
|
||||
case citation
|
||||
~/.local/bin/citation.py
|
||||
case "*"
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue