diff options
author | Peter Rice <peter@peterrice.xyz> | 2020-04-29 11:41:30 -0400 |
---|---|---|
committer | Robert Helgesson <robert@rycee.net> | 2020-04-29 21:46:10 +0200 |
commit | 8b82f52e75e7127bf240293b3eef483aabffb405 (patch) | |
tree | a2580a1f0c1adcbe75b78fb1a138821beb718b0b /tests/modules/programs/fish | |
parent | a7cdfaa32585fce404cf8890bae099348e53e0ad (diff) |
fish: source each file in plugin conf.d separately
According to https://fishshell.com/docs/current/cmds/source.html,
only one file can be sourced at a time: "If additional arguments are
specified after the file name, they will be inserted into the $argv
variable."
PR #1204
Diffstat (limited to 'tests/modules/programs/fish')
-rw-r--r-- | tests/modules/programs/fish/plugins.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/modules/programs/fish/plugins.nix b/tests/modules/programs/fish/plugins.nix index 1d661ff0e69..657c33f39bf 100644 --- a/tests/modules/programs/fish/plugins.nix +++ b/tests/modules/programs/fish/plugins.nix @@ -21,7 +21,9 @@ let # Source initialization code if it exists. if test -d $plugin_dir/conf.d - source $plugin_dir/conf.d/*.fish + for f in $plugin_dir/conf.d/*.fish + source $f + end end if test -f $plugin_dir/key_bindings.fish |