jessebot / dot_files

Default dot files for onboardme including bash, neovim, powerline, neomutt, w3m, wezterm, and more :)
https://jessebot.github.io/onboardme
GNU Affero General Public License v3.0
5 stars 3 forks source link

add OS flavor check and add change XDG_DATA_HOME path for linux #27

Closed cloudymax closed 1 year ago

cloudymax commented 1 year ago

Proposed resolution for issue #26

Adds an OS flavor check and changes the XDG_DATA_HOME value for Linux. Tested on Ubuntu22.04 and Debian12 latest daily.

Before changes:

testadmin@test:~$ echo $pip_packages
/home/testadmin/.local/share/python/lib/python3.11/site-packages

testadmin@test:~$ ls $pip_packages
lsd: /home/testadmin/.local/share/python/lib/python3.11/site-packages: No such file or directory (os error 2).

testadmin@test:~$ onboardme --help
Traceback (most recent call last):
  File "/home/testadmin/.local/bin/onboardme", line 5, in <module>
    from onboardme import main
ModuleNotFoundError: No module named 'onboardme'
testadmin@test:~$

after changes and login/logout

Screenshot 2023-04-18 at 11 21 08

:

jessebot commented 1 year ago

@cloudymax is this still relevant?

cloudymax commented 1 year ago

looks like most of this has been implemented already

Yep! Looks like this one was resolved during the latest round of work fixing the XDG paths for powerline across M1/x86! 🥳