mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-22 08:14:00 +01:00
neovim(vim-startify): Fix random quotes
This commit is contained in:
parent
6f32f06b3d
commit
f4db117bc3
@ -194,7 +194,7 @@ in {
|
||||
{
|
||||
plugin = vim-startify;
|
||||
config = ''
|
||||
let g:startify_custom_header = startify#pad(split(system("cat (random choice (fd . ${pkgs.ponysay}/share/ponysay/quotes))"), '\n'))
|
||||
let g:startify_custom_header = startify#pad(split(system("cat (random choice (fd . ${pkgs.ponysay}/share/ponysay/quotes --ignore-file ~/.config/fd/ponyignore))"), '\n'))
|
||||
|
||||
let g:startify_change_to_dir = 0
|
||||
|
||||
@ -232,6 +232,11 @@ in {
|
||||
nixpkgs-master.legacyPackages.${VARIABLES.system}.vimPlugins.vim-crystal
|
||||
];
|
||||
};
|
||||
|
||||
xdg.configFile."fd/ponyignore".text = ''
|
||||
snowflake+horsepower+bulkbiceps.1
|
||||
snowflake+horsepower+bulkbiceps.2
|
||||
'';
|
||||
}
|
||||
];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user