From b171b1e8e97b0250f920f4cb9414eacd076a231e Mon Sep 17 00:00:00 2001 From: PowerUser64 Date: Sun, 15 May 2022 01:24:16 -0700 Subject: [PATCH] add dotfiles function --- .config/shell/functions/dotfiles | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .config/shell/functions/dotfiles diff --git a/.config/shell/functions/dotfiles b/.config/shell/functions/dotfiles new file mode 100644 index 0000000..1cdf059 --- /dev/null +++ b/.config/shell/functions/dotfiles @@ -0,0 +1,6 @@ +#!/bin/bash +# This is a copy of the 'dot' alias, as a function, for use in other functions + +dotfiles() { + git --git-dir="$HOME/git/dotfiles" --work-tree="$HOME" +}