aboutsummaryrefslogtreecommitdiffstats
path: root/commands/z.go
diff options
context:
space:
mode:
authorRobin Jarry <robin@jarry.cc>2023-12-22 15:51:14 +0100
committerRobin Jarry <robin@jarry.cc>2024-01-17 11:52:57 +0100
commit765761c5bf49799e7d74535b9727062c869fc358 (patch)
treed0a381d24165e20194bd90085e13c7ca8083a404 /commands/z.go
parent4239f0d80204a2d1f7a2475adfd62b39cd86d075 (diff)
downloadaerc-765761c5bf49799e7d74535b9727062c869fc358.tar.gz
commands: simplify CompletePath
This function is overly complex, has code duplication and is not preserving user input (converting all paths to absolute paths). Simplify it and avoid converting relative paths to absolute ones. Add unit tests to ensure it works as expected. Signed-off-by: Robin Jarry <robin@jarry.cc> Tested-by: Bence Ferdinandy <bence@ferdinandy.com>
Diffstat (limited to 'commands/z.go')
0 files changed, 0 insertions, 0 deletions