mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-04-27 12:48:55 +02:00
neovim: Make startify script always work
One of the beauties of Nix is that you don't have to depend on what is available in a user's $PATH.
This commit is contained in:
parent
80e2052651
commit
6c880d65a5
@ -212,7 +212,7 @@
|
|||||||
{
|
{
|
||||||
plugin = vim-startify;
|
plugin = vim-startify;
|
||||||
config = ''
|
config = ''
|
||||||
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_custom_header = startify#pad(split(system("${pkgs.fish}/bin/fish -c 'cat (random choice (${pkgs.fd}/bin/fd . ${pkgs.ponysay}/share/ponysay/quotes --ignore-file ~/.config/fd/ponyignore))'"), '\n'))
|
||||||
|
|
||||||
let g:startify_change_to_dir = 0
|
let g:startify_change_to_dir = 0
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user