From 893af4ee78f1309f69e6e6fbd68f621734183275 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Mon, 14 Oct 2024 16:05:36 +0530 Subject: using relative path in dots fish function --- .config/fish/functions/dots.fish | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.config/fish/functions') diff --git a/.config/fish/functions/dots.fish b/.config/fish/functions/dots.fish index 29fd0e6..881cf29 100644 --- a/.config/fish/functions/dots.fish +++ b/.config/fish/functions/dots.fish @@ -1,3 +1,3 @@ -function dots --wraps='git --git-dir=/home/zt/.dots/ --work-tree=/home/zt' --description 'alias dots git --git-dir=/home/zt/.dots/ --work-tree=/home/zt' - git --git-dir=/home/zt/.dots/ --work-tree=/home/zt $argv; +function dots --wraps='git --git-dir=$HOME/.dots/ --work-tree=$HOME' --description 'dots git bare repo' + git --git-dir=$HOME/.dots/ --work-tree=$HOME $argv; end -- cgit v1.2.3