mirror of
https://github.com/Cian-H/dotfiles.git
synced 2026-05-01 04:01:42 +01:00
Changed . token to _dot
This change allows the dotfiles to work with chezmoi (e.g: on windows) and improves grepability with neovim/telescope
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
|
||||
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 '.') }
|
||||
}
|
||||
Reference in New Issue
Block a user