about summary refs log tree commit diff
path: root/x
AgeCommit message (Collapse)AuthorLines
2025-09-19fix ./x readdir logic when CDPATH is setRalf Jung-1/+2
2025-02-13Look for `python3` first on MacOS, not `py`jyn-1/+7
`py` is not installed by default *and* trying to run it results in a popup asking if you want to install it. `python3` is installed by default. This hopefully should not be too disruptive to people on Windows, since they should be going through `x.ps1` instead anyway. Just in case, I've added a check for Cygwin and Msys (i'm not sure how else you'd get a bash shell on windows).
2024-11-06fix(x): fix a regex used to find python executableismailarilik-1/+1
2023-10-14Make x capable of resolving symlinksonur-ozkan-3/+6
When bootstrapping from outside of the rust source, instead of calling 'x' from the absolute path (like /home/user/rust/x), we should be able to link 'x' from the rust source to binary paths so it can be used easily. Before this change, 'x' was not capable of finding 'x.py' when called from the linked file. Signed-off-by: onur-ozkan <work@onurozkan.dev>
2023-09-25quote argument to sh -nMaxHearnden-1/+1
This prevents glob expansion (*.py) and field splitting
2023-05-03check bootstrap scripts syntaxozkanonur-1/+4
Signed-off-by: ozkanonur <work@onurozkan.dev>
2022-10-31Add better python discoveryAlbert Larsan-0/+6
`x.ps1` and `x` will now search for python executables like `python3.9` and `python3.10.exe`
2022-08-12Use an extensionless `x` script for non-WindowsJosh Stone-0/+33