From afbb84fd420aa96bf297513d94271fb1239a52b8 Mon Sep 17 00:00:00 2001 From: skywind3000 Date: Fri, 8 Feb 2019 23:55:48 +0800 Subject: [PATCH] update omf entry --- init.fish | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/init.fish b/init.fish index e2e92d4..20320f9 100644 --- a/init.fish +++ b/init.fish @@ -5,7 +5,7 @@ if test -z "$XDG_DATA_HOME" else set -U _ZL_DATA_DIR "$XDG_DATA_HOME/zlua" end -set -U _ZL_DATA "$_ZL_DATA_DIR/zlua.txt" +set -U _ZL_DATA "$_ZL_DATA_DIR/zlua.txt" 2> /dev/null if test ! -e "$_ZL_DATA" if test ! -e "$_ZL_DATA_DIR" @@ -33,8 +33,8 @@ if test -e $_zlua_dir/z.lua alias zz='z -i' # cd with interactive selection alias zf='z -I' # use fzf to select in multiple matches alias zb='z -b' # quickly cd to the parent directory - set -U ZLUA_SCRIPT "$ZLUA_SCRIPT" - set -U ZLUA_LUAEXE "$ZLUA_LUAEXE" + set -U ZLUA_SCRIPT "$ZLUA_SCRIPT" 2> /dev/null + set -U ZLUA_LUAEXE "$ZLUA_LUAEXE" 2> /dev/null end