summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorewy1 <ewy0@protonmail.com>2025-03-21 16:06:40 +0100
committerewy1 <ewy0@protonmail.com>2025-03-21 16:06:40 +0100
commit7dd577d356029c09a5e2b5844bfc7ed566004a06 (patch)
treedf99318f66b0d0018f2d9f67cbd10c6b901c4dc0
parent332b8f17a3f043a2c399341cde7679a850f9770a (diff)
add dotfiles as separate shell script instead of alias for easy setup
-rwxr-xr-x.local/bin/dotfiles2
-rw-r--r--.zshrc1
2 files changed, 2 insertions, 1 deletions
diff --git a/.local/bin/dotfiles b/.local/bin/dotfiles
new file mode 100755
index 0000000..193a019
--- /dev/null
+++ b/.local/bin/dotfiles
@@ -0,0 +1,2 @@
+#!/usr/bin/env bash
+git --git-dir="$HOME/.dotfiles/" --work-tree="$HOME" $@
diff --git a/.zshrc b/.zshrc
index 25bf809..49030ef 100644
--- a/.zshrc
+++ b/.zshrc
@@ -1,5 +1,4 @@
setopt completealiases
-alias dotfiles='/usr/bin/git --git-dir="$HOME/.dotfiles/" --work-tree="$HOME"'
ZSH_CUSTOM="$HOME/.config/zsh"
# Disabled, tab completion garbles the output :'(