From 05a87bb0eb20345694a09c9e5e5930028c0c0339 Mon Sep 17 00:00:00 2001 From: Jacob Janzen Date: Wed, 7 Aug 2024 15:27:41 -0500 Subject: start installing config files --- clang-format.org | 2 +- gitconfig.org | 6 +++--- install | 2 +- profile.org | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/clang-format.org b/clang-format.org index 66ebc8a..6c38b3b 100644 --- a/clang-format.org +++ b/clang-format.org @@ -1,6 +1,6 @@ #+title: Clang-Format Settings Use a style similar to Linux kernel style (but with 4-wide indents and spaces over tabs). -#+begin_src yaml :tangle .clang-format +#+begin_src yaml :tangle ~/.clang-format BasedOnStyle: LLVM IndentWidth: 4 BreakBeforeBraces: Linux diff --git a/gitconfig.org b/gitconfig.org index 7ea0fc6..c907204 100644 --- a/gitconfig.org +++ b/gitconfig.org @@ -1,18 +1,18 @@ #+title: Git Configuration Define my full name and email. -#+begin_src conf :tangle .gitconfig +#+begin_src conf :tangle ~/.gitconfig [user] name = Jacob Janzen email = jjanzenn@proton.me #+end_src Use =main= over =master=. -#+begin_src conf :tangle .gitconfig +#+begin_src conf :tangle ~/.gitconfig [init] defaultBranch = main #+end_src Make =pull= rebase on conflict. -#+begin_src conf :tangle .gitconfig +#+begin_src conf :tangle ~/.gitconfig [pull] rebase = true #+end_src diff --git a/install b/install index 19e2191..8c7d704 100755 --- a/install +++ b/install @@ -25,7 +25,7 @@ fi # install config files find -- * -type f -name "*.org" | while read -r file; do echo Installing "${file}" configuration... - # emacs --batch "${file}" -f package-initialize --eval '(org-babel-tangle)' + emacs --batch "${file}" -f package-initialize --eval '(org-babel-tangle)' done cd "${CWD}" || exit diff --git a/profile.org b/profile.org index ea33433..2b9f7e8 100644 --- a/profile.org +++ b/profile.org @@ -1,13 +1,13 @@ #+title: =.profile= Settings * Path Add items to the path. -#+begin_src sh :tangle .profile +#+begin_src sh :tangle ~/.profile export PATH="$HOME/.local/share/fzf-zsh-plugin/bin:$HOME/node_modules/.bin:$HOME/.emacs.d/bin:$HOME/bin:$HOME/gems/bin:$HOME/.local/bin:$HOME/go/bin:$PATH" #+end_src * SSH Agent Run =ssh-agent= if =ssh-agent= is not already running. Ensure that the authorization socket is available in the shell. -#+begin_src sh :tangle .profile +#+begin_src sh :tangle ~/.profile if [ ! -S ~/.ssh/ssh_auth_sock ]; then eval `ssh-agent` > /dev/null ln -sf "$SSH_AUTH_SOCK" ~/.ssh/ssh_auth_sock -- cgit v1.2.3