diff options
author | Vidhu Kant Sharma <vidhukant@vidhukant.com> | 2024-10-14 16:05:36 +0530 |
---|---|---|
committer | Vidhu Kant Sharma <vidhukant@vidhukant.com> | 2024-10-14 16:05:36 +0530 |
commit | 893af4ee78f1309f69e6e6fbd68f621734183275 (patch) | |
tree | 2fe416c5d9674c49217cc25ac48748283d220194 /.config/fish/functions/dots.fish | |
parent | 495b144b5bc9fbd48a5e89d7eafbf8d44e56b3f0 (diff) |
using relative path in dots fish function
Diffstat (limited to '.config/fish/functions/dots.fish')
-rw-r--r-- | .config/fish/functions/dots.fish | 4 |
1 files changed, 2 insertions, 2 deletions
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 |