mirror of
https://github.com/Cian-H/dotfiles.git
synced 2026-01-04 08:11:58 +00:00
This change allows the dotfiles to work with chezmoi (e.g: on windows) and improves grepability with neovim/telescope
8 lines
210 B
Nu
8 lines
210 B
Nu
|
|
export def ls-hidden [
|
|
--dir(-d):any # The directory you want to list
|
|
] {
|
|
let dir = if ($dir | is-empty) { "." } else { $dir }
|
|
ls -a $dir | filter { ($in.name | into string | str starts-with '.') }
|
|
}
|