From 085a9b9267ef217566af6681900a0da6f9a9618f Mon Sep 17 00:00:00 2001 From: Kurtis Rader Date: Tue, 14 Mar 2017 13:17:53 -0700 Subject: [PATCH] fix stupid typo introduced by d9b30ab09 --- share/functions/export.fish | 2 +- share/functions/setenv.fish | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/share/functions/export.fish b/share/functions/export.fish index 0c5561291..d0d1bbb2b 100644 --- a/share/functions/export.fish +++ b/share/functions/export.fish @@ -1,5 +1,5 @@ function export --description 'Set env variable. Alias for `set -gx` for bash compatibility.' - if not set -q argv[0] + if not set -q argv[1] set -x return 0 end diff --git a/share/functions/setenv.fish b/share/functions/setenv.fish index 2141f4dad..d125751bd 100644 --- a/share/functions/setenv.fish +++ b/share/functions/setenv.fish @@ -1,5 +1,5 @@ function setenv --description 'Set env variable. Alias for `set -gx` for csh compatibility.' - if not set -q argv[0] + if not set -q argv[1] set -x return 0 end