From 7dd577d356029c09a5e2b5844bfc7ed566004a06 Mon Sep 17 00:00:00 2001 From: ewy1 Date: Fri, 21 Mar 2025 16:06:40 +0100 Subject: add dotfiles as separate shell script instead of alias for easy setup --- .local/bin/dotfiles | 2 ++ .zshrc | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100755 .local/bin/dotfiles 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 :'( -- cgit v1.3