| 1 |
% Generated by roxygen2: do not edit by hand |
| 2 |
% Please edit documentation in R/fs_path.R |
| 3 |
\name{fs_path} |
| 4 |
\alias{fs_path} |
| 5 |
\alias{as_fs_path} |
| 6 |
\title{File paths} |
| 7 |
\usage{ |
| 8 |
as_fs_path(x) |
| 9 |
|
| 10 |
fs_path(x) |
| 11 |
} |
| 12 |
\arguments{ |
| 13 |
\item{x}{vector to be coerced to a fs_path object.} |
| 14 |
} |
| 15 |
\description{ |
| 16 |
Tidy file paths, character vectors which are coloured by file type on |
| 17 |
capable terminals. |
| 18 |
|
| 19 |
Colouring can be customized by setting the \code{LS_COLORS} environment variable, |
| 20 |
the format is the same as that read by GNU ls / dircolors. |
| 21 |
|
| 22 |
Colouring of file paths can be disabled by setting \code{LS_COLORS} to an empty |
| 23 |
string e.g. \code{Sys.setenv(LS_COLORS = "")}. |
| 24 |
} |
| 25 |
\seealso{ |
| 26 |
\url{https://geoff.greer.fm/lscolors}, |
| 27 |
\url{https://github.com/trapd00r/LS_COLORS}, |
| 28 |
\url{https://github.com/seebi/dircolors-solarized} for some example colour |
| 29 |
settings. |
| 30 |
} |