You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've recently started playing around with just. As far as I know, it should be separate from ujust, but by default the .justfile in the home directory imports all the commands from ujust.
# You can add your own commands here! For documentation, see: https://ublue.it/guide/just/
import "/usr/share/ublue-os/justfile"
You can of course delete the line, but it gets added back in every time you run bash. It's annoying.
What did you expect to happen?
Just should be separate from ujust. Likewise, running bash should not add the ujust commands back to the user's justfile.
Output of bootc status
Current staged state is native ostree
Current booted state is native ostree
Current rollback state is native ostree
PS: If I may suggest defaulting ujust to ujust --choose instead of ujust --list, because it seems to be the preferred way to use ujust, as suggested by motd.
The text was updated successfully, but these errors were encountered:
Yeah I'd love to separate this better. Ideally we shouldn't be adding a dotfile to the user's directory at all but we did that years ago, needs investigation. Open to ideas on implementation!
I personally like the idea to have a .justfile in the home directory, as that makes just commands global. A justfile in a different directory takes precedence however, so there shouldn't be any issue with projects and such. In my case it's like better shell aliases.
I suggest generating a .justfile when the user first installs the os (not every time that bash is ran), that includes information on how to set custom just commands (and excludes all the ujust commands). Could be written in plaintext or link to somewhere else.
If the user wants specific just commands for a specific project, they can do just --init, which would create the justfile in that directory. From there on they can add the commands they want, completely seperate from the justfile in the home directory.
Describe the bug
I've recently started playing around with just. As far as I know, it should be separate from ujust, but by default the .justfile in the home directory imports all the commands from ujust.
You can of course delete the line, but it gets added back in every time you run bash. It's annoying.
What did you expect to happen?
Just should be separate from ujust. Likewise, running bash should not add the ujust commands back to the user's justfile.
Output of
bootc status
Output of
groups
Extra information or context
PS: If I may suggest defaulting ujust to
ujust --choose
instead ofujust --list
, because it seems to be the preferred way to use ujust, as suggested by motd.The text was updated successfully, but these errors were encountered: