mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-09 03:51:20 -03:00
style.fish: canonicalize workspace root
Use a canonicalized absolute path for the workspace root to make errors containing paths easier to read. Closes #12359
This commit is contained in:
committed by
Johannes Altmanninger
parent
8bf416cd64
commit
07394a1621
@@ -24,7 +24,7 @@ if set -l -q _flag_all
|
||||
end
|
||||
end
|
||||
|
||||
set -l workspace_root (status dirname)/..
|
||||
set -l workspace_root (realpath (status dirname)/..)
|
||||
|
||||
if test $all = yes
|
||||
if not set -l -q _flag_force; and not set -l -q _flag_check
|
||||
|
||||
Reference in New Issue
Block a user