1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2024-12-10 23:47:15 +00:00

Fish: addpath and libpath

This commit is contained in:
Phantop 2020-05-20 15:08:04 -04:00
parent 01a0e0c1a6
commit dc5fc49a3a
2 changed files with 16 additions and 0 deletions

View file

@ -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

View file

@ -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