diff options
Diffstat (limited to '.local/bin')
-rwxr-xr-x | .local/bin/dotfiles | 5 | ||||
-rwxr-xr-x | .local/bin/dotman | 6 |
2 files changed, 4 insertions, 7 deletions
diff --git a/.local/bin/dotfiles b/.local/bin/dotfiles index ae2bf64..dafcfb3 100755 --- a/.local/bin/dotfiles +++ b/.local/bin/dotfiles @@ -1,3 +1,6 @@ #!/bin/sh -exec git --git-dir="$HOME/.dotfiles/" --work-tree="$HOME" "$@" +export GIT_DIR="$HOME/.dotfiles/" +export GIT_WORK_TREE="$HOME" + +exec git "$@" diff --git a/.local/bin/dotman b/.local/bin/dotman deleted file mode 100755 index 21e2fb9..0000000 --- a/.local/bin/dotman +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -export GIT_DIR="${XDG_DATA_HOME:-$HOME/.local/share}/dotman/" -export GIT_WORK_TREE="$HOME" - -exec git "$@" |