12 lines
274 B
Nix
12 lines
274 B
Nix
{ colors, inputs }:
|
|
let
|
|
theme = colors { templateRepo = inputs.base16-fish; };
|
|
in
|
|
''
|
|
source ${theme}
|
|
|
|
# See https://github.com/tomyun/base16-fish/issues/7 for why this condition exists
|
|
if status --is-interactive && test -z "$TMUX"
|
|
base16-${colors.slug}
|
|
end
|
|
''
|