small changes
This commit is contained in:
parent
3efcb833f0
commit
203d306319
3 changed files with 6 additions and 16 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue