all repos — nixfiles @ 22ed806a6ec0eb2fcbadba733f349fecc9b1ccea

System and user configuration, managed by nix and home-manager

theme: extract last_theme function to own file

Alan Pearce
commit

22ed806a6ec0eb2fcbadba733f349fecc9b1ccea

parent

d81201657e6576d72fb57cd8047a9e37176ffc17

1 file changed, 3 insertions(+), 0 deletions(-)

changed files
A user/settings/fish/functions/last_theme.fish
@@ -0,0 +1,3 @@
+function last_theme + theme.sh (theme.sh -l | tail -n2 | head -n1) +end