4 ms·
As a rule of thumb I always make paths absolute when handling files in scripts. But then sometimes I need to copy a directory tree relative to $CWD somewhere el
by qrobit 1y ago
As a rule of thumb I always make paths absolute when handling files in scripts. But then sometimes I need to copy a directory tree relative to $CWD somewhere else, so I convert them back to relative
Fish, being a great shell, provides this via `path` command[0]
[0]: https://fishshell.com/docs/current/cmds/path.html https://fishshell.com/docs/current/cmds/path.html