Skip to content

Commit

Permalink
fix(atuin): expand tilde for mkdir
Browse files Browse the repository at this point in the history
  • Loading branch information
ErichDonGubler committed Jun 16, 2024
1 parent 2f834a3 commit 3c4e7b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion env/atuin.nu
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ $env.config = (
export def init-atuin [] {
let atuin_path = "~/.local/share/atuin/init.nu"

mkdir ($atuin_path | path dirname)
mkdir ($atuin_path | path dirname | path expand)
atuin init nu --disable-up-arrow | save --force $atuin_path
echo $ctrl_b_handler | save --append $atuin_path
}

0 comments on commit 3c4e7b6

Please sign in to comment.