bolt/deps/llvm-18.1.8/lldb/examples/customization/pwd-cd-and-system/.lldbinit
2025-02-14 19:21:04 +01:00

7 lines
251 B
Text

script import os, sys
# So that ~/utils.py takes precedence.
script sys.path[:0] = [os.path.expanduser('~')]
script import utils
command alias pwd script print os.getcwd()
command script add -f utils.chdir cd
command script add -f utils.system system