From e81589eb3b0669cd47150735ee5378dfc2cabd36 Mon Sep 17 00:00:00 2001 From: Steph Enders Date: Thu, 30 Mar 2023 00:16:10 -0400 Subject: Move --ignore to .stow-local-ignore file It seems like --ignore isn't as 1:1 with the local ignore file. Which is very frustrating TBH! The good news is it looks like it takes precident over the default settings which ignored the .gitignore - so we can throw that into the mix! Overall, this tool is very nice because it makes traversing these files much much simpler. But I feel like for something that SHOULD be relatively simple is actually not so? Which is a shame. --- .gitignore | 27 +++++++++++++++++++++++++++ .stow-local-ignore | 4 ++++ .stowrc | 5 ----- dot-gitignore | 27 --------------------------- 4 files changed, 31 insertions(+), 32 deletions(-) create mode 100644 .gitignore create mode 100644 .stow-local-ignore delete mode 100644 dot-gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..fe19d1c --- /dev/null +++ b/.gitignore @@ -0,0 +1,27 @@ +# vim +*.sw* + +# emacs +*.*~ + + +# intellij +.idea +out + +# Java +target +*.class + +# Scala +.sbt +.ivy +.bsp + +# nodejs +node_modules + +# C +*.out + + diff --git a/.stow-local-ignore b/.stow-local-ignore new file mode 100644 index 0000000..9ffa2df --- /dev/null +++ b/.stow-local-ignore @@ -0,0 +1,4 @@ +README\.org +LICENSE +\.git +\.stowrc diff --git a/.stowrc b/.stowrc index 6ae8d0c..9b1abf6 100644 --- a/.stowrc +++ b/.stowrc @@ -1,8 +1,3 @@ --dir=~/configs/dotfiles/ --target=~/ ---dotfiles ---ignore='\.git' ---ignore=README\.org ---ignore=LICENSE ---ignore=\.stowrc --verbose diff --git a/dot-gitignore b/dot-gitignore deleted file mode 100644 index fe19d1c..0000000 --- a/dot-gitignore +++ /dev/null @@ -1,27 +0,0 @@ -# vim -*.sw* - -# emacs -*.*~ - - -# intellij -.idea -out - -# Java -target -*.class - -# Scala -.sbt -.ivy -.bsp - -# nodejs -node_modules - -# C -*.out - - -- cgit v1.2.3-54-g00ecf