refactor: improve fs_* (#99)

improve `_guard_path` to use `realpath -m <path>` to get absolute path
This commit is contained in:
sigoden
2024-08-17 12:40:32 +08:00
committed by GitHub
parent a53ca4fda2
commit 760ea38fed
4 changed files with 5 additions and 3 deletions
+1
View File
@@ -502,6 +502,7 @@ version() {
fi
argc --argc-version
jq --version
ls --version 2>&1 | head -n 1
for item in "${LANG_CMDS[@]}"; do
cmd="${item#*:}"
if [[ "$cmd" == "bash" ]]; then