diff --git a/.config/fish/functions/addpath.fish b/.config/fish/functions/addpath.fish new file mode 100644 index 0000000..affd6cd --- /dev/null +++ b/.config/fish/functions/addpath.fish @@ -0,0 +1,8 @@ +# Defined in /tmp/fish.kGwYO8/addpath.fish @ line 1 +function addpath + if test $argv + set PATH $argv $PATH + else + set PATH (pwd) $PATH + end +end diff --git a/.config/fish/functions/libpath.fish b/.config/fish/functions/libpath.fish new file mode 100644 index 0000000..a514469 --- /dev/null +++ b/.config/fish/functions/libpath.fish @@ -0,0 +1,8 @@ +# Defined in /tmp/fish.0ygHEX/libpath.fish @ line 1 +function libpath + if test $argv + export LD_LIBRARY_PATH=$argv LIBGL_DRIVERS_PATH=$argv EGL_DRIVERS_PATH=$argv mesa_glthread=true AMD_DEBUG=nohyperz + else + export LD_LIBRARY_PATH=(pwd) LIBGL_DRIVERS_PATH=(pwd) EGL_DRIVERS_PATH=(pwd) mesa_glthread=true AMD_DEBUG=nohyperz + end +end