Browse Source

make paths not be hardcoded on user login

master
Alison Watson 8 months ago
parent
commit
a1228b3db4
3 changed files with 14 additions and 8 deletions
  1. +0
    -7
      fish/llvmenv
  2. +13
    -0
      fish/path
  3. +1
    -1
      system/env/00-vars.sh

+ 0
- 7
fish/llvmenv View File

@@ -1,7 +0,0 @@
#!/usr/bin/env fish

if type -q llvmenv
set -gxa PATH (llvmenv prefix)/bin
end

## EOF

+ 13
- 0
fish/path View File

@@ -0,0 +1,13 @@
#!/usr/bin/env fish

if test -d ~/.gem/ruby
set -gxa PATH ~/.gem/ruby/2.*/bin
end
if test -d ~/.cabal/bin
set -gxa PATH ~/.cabal/bin
end
if test -d $_agw_dir_bin/llvm/$_agw_llvm_ver/bin
set -gxa PATH $_agw_dir_bin/llvm/$_agw_llvm_ver/bin
end

## EOF

+ 1
- 1
system/env/00-vars.sh View File

@@ -10,7 +10,7 @@ export GTK_USE_PORTAL=1
export KRITA_NO_STYLE_OVERRIDE=1

# misc
export PATH=$HOME/.local/bin:$HOME/.gem/ruby/2.6.0/bin:$HOME/.cabal/bin:$PATH
export PATH=$HOME/.local/bin:$PATH
export DOOMWADDIR=/media/store/games/doom/iwads
export EDITOR=vi
export WINEPREFIX=$HOME/progs/winepfx


Loading…
Cancel
Save