aboutsummaryrefslogtreecommitdiff
path: root/.config/fish/functions
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.com>2024-10-14 16:05:36 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.com>2024-10-14 16:05:36 +0530
commit893af4ee78f1309f69e6e6fbd68f621734183275 (patch)
tree2fe416c5d9674c49217cc25ac48748283d220194 /.config/fish/functions
parent495b144b5bc9fbd48a5e89d7eafbf8d44e56b3f0 (diff)
using relative path in dots fish function
Diffstat (limited to '.config/fish/functions')
-rw-r--r--.config/fish/functions/dots.fish4
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