rearrange folder structure

This commit is contained in:
Riley Housden 2022-02-18 22:52:36 -05:00
parent 997d1ee4de
commit e0488cf830
Signed by: InValidFire
GPG key ID: 0D6208F6DF56B4D8
19 changed files with 5 additions and 9 deletions

7
xontrib/ps1.xsh Normal file
View file

@ -0,0 +1,7 @@
from xonsh.built_ins import XSH
@XSH.builtins.events.on_transform_command
def ps1_preproc(cmd, **kw):
if cmd.split(" ")[0].strip().endswith(".ps1"):
cmd = f"powershell.exe {cmd}"
return cmd