mirror of
https://github.com/Cian-H/dotfiles.git
synced 2026-05-23 14:44:43 +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,8 @@
|
||||
use std repeat;
|
||||
|
||||
# Go up a number of directories
|
||||
def --env up [
|
||||
limit = 1: int # The number of directories to go up (default is 1)
|
||||
] {
|
||||
cd ("." | repeat ($limit + 1) | str join)
|
||||
}
|
||||
Reference in New Issue
Block a user