1
Fork 0
mirror of https://github.com/RGBCube/nu_scripts synced 2025-08-02 07:07:46 +00:00

Create pwd-short.nu (#235)

This commit is contained in:
Dan-Gamin 2022-05-29 23:13:56 +03:00 committed by GitHub
parent 03db40965a
commit f6bd50a221
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,4 @@
# Print working directory but abbreviates the home dir as ~
def pwd-short [] {
$env.PWD | str replace $nu.home-path '~' -s
}