all repos — nixfiles @ c8219f65bcdf647a48ab2f48b04b43896091794e

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

skiphead: use default value correctly

Alin
commit

c8219f65bcdf647a48ab2f48b04b43896091794e

parent

03ea3a1104ef88a15e57470e9f7651e5fea2a4d8

1 file changed, 2 insertions(+), 2 deletions(-)

changed files
M user/settings/fish/functions/skiphead.fish → user/settings/fish/functions/skiphead.fish
@@ -1,4 +1,4 @@
function skiphead --wraps='sed 1d' --wraps=sed --argument-names count - set --query count or set --local count 1 - sed 1,{$count}d $argv[2..] + set --local count $count 1 + sed 1,{$count[1]}d $argv[2..] end