mirror of
https://github.com/Cian-H/dotfiles.git
synced 2026-03-18 11:02:45 +00:00
This change allows the dotfiles to work with chezmoi (e.g: on windows) and improves grepability with neovim/telescope
5 lines
124 B
Nu
5 lines
124 B
Nu
# Print working directory but abbreviates the home dir as ~
|
|
def pwd-short [] {
|
|
$env.PWD | str replace $nu.home-path '~'
|
|
}
|