mirror of
https://github.com/IlanCosman/tide.git
synced 2025-01-03 18:14:01 +03:00
Stuff for making animations
This commit is contained in:
parent
3b718d9f7d
commit
199b3df16c
28
tools/dev/config.fish
Normal file
28
tools/dev/config.fish
Normal file
@ -0,0 +1,28 @@
|
||||
if status is-interactive
|
||||
starship init fish | source
|
||||
|
||||
functions --copy fish_prompt starship_fish_prompt
|
||||
|
||||
function fish_prompt
|
||||
sleep $sleep_time
|
||||
starship_fish_prompt
|
||||
end
|
||||
|
||||
set -gx sleep_time 0
|
||||
|
||||
function toggle_sleep_time
|
||||
if test "$sleep_time" = 0
|
||||
set -g sleep_time 3
|
||||
else
|
||||
set -g sleep_time 0
|
||||
end
|
||||
end
|
||||
|
||||
bind \cS toggle_sleep_time
|
||||
|
||||
function history_merge
|
||||
history merge
|
||||
end
|
||||
|
||||
bind \cH history_merge
|
||||
end
|
Loading…
Reference in New Issue
Block a user