diff options
author | Jacob Janzen <jacob.a.s.janzen@gmail.com> | 2024-09-27 18:48:30 -0500 |
---|---|---|
committer | Jacob Janzen <jacob.a.s.janzen@gmail.com> | 2024-09-27 18:48:30 -0500 |
commit | 203d306319d426cdcdd8447152b7960f4cb3558c (patch) | |
tree | b187347122b1ba11ffbc49e11eb53c5a93623c89 | |
parent | 3efcb833f06adae251c95dc0c37c40e038f0f106 (diff) |
small changes
-rw-r--r-- | common/profile.org | 11 | ||||
-rw-r--r-- | nixos/.flake/home/programs/core.org | 1 | ||||
-rw-r--r-- | nixos/clang-format.org | 10 |
3 files changed, 6 insertions, 16 deletions
diff --git a/common/profile.org b/common/profile.org index 7055354..1dd7c7b 100644 --- a/common/profile.org +++ b/common/profile.org @@ -4,17 +4,6 @@ Add items to the path. 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:/usr/local/bin:$PATH" #+end_src -Run =ssh-agent= if =ssh-agent= is not already running on my Gentoo system. Ensure that the authorization socket is available in the shell. -#+begin_src sh :tangle ~/.profile - if [ "$(uname)" = 'Linux' ] && grep -q 'ID=gentoo' /etc/os-release; then - if [ ! -S ~/.ssh/ssh_auth_sock ]; then - eval `ssh-agent` > /dev/null - ln -sf "$SSH_AUTH_SOCK" ~/.ssh/ssh_auth_sock - fi - export SSH_AUTH_SOCK=~/.ssh/ssh_auth_sock - fi -#+end_src - Set =GPG_TTY= on Mac OS. #+begin_src sh :tangle ~/.profile if [ "$(uname)" = 'Darwin' ] && ps -e | grep -q 'emacs --daemon'; then diff --git a/nixos/.flake/home/programs/core.org b/nixos/.flake/home/programs/core.org index 7c64b46..41ec9a9 100644 --- a/nixos/.flake/home/programs/core.org +++ b/nixos/.flake/home/programs/core.org @@ -20,6 +20,7 @@ This is the core of my program configuration. This file installs programs that d discord # not FOSS eza fuzzel + ispell gcc htop hyfetch diff --git a/nixos/clang-format.org b/nixos/clang-format.org index 6c38b3b..c4bb4e7 100644 --- a/nixos/clang-format.org +++ b/nixos/clang-format.org @@ -1,9 +1,9 @@ #+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 -BasedOnStyle: LLVM -IndentWidth: 4 -BreakBeforeBraces: Linux -AllowShortIfStatementsOnASingleLine: false -IndentCaseLabels: false + BasedOnStyle: LLVM + IndentWidth: 4 + BreakBeforeBraces: Linux + AllowShortIfStatementsOnASingleLine: false + IndentCaseLabels: false #+end_src |