Update configs
50498a87647d48a30bfc9791bf9e523c539ebc5e
1 parent
72303d69
.profile
+2 -1
| 2 | 2 | ||
| 3 | 3 | if command -v keychain >/dev/null; then |
|
| 4 | 4 | eval $(keychain --eval --agents ssh -Q --quiet ~/.ssh/id_rsa) |
|
| 5 | 5 | fi |
|
| 6 | 6 | ||
| 7 | - | export PATH=~/bin:~/.local/bin:~/.cabal/bin:~/.cargo/bin:~/.gem/ruby/2.6.0/bin:~/.radicle/bin:~/.npm-packages/bin:$PATH |
|
| 7 | + | export PATH=~/bin:~/.local/bin:~/.yarn/bin:~/.cabal/bin:~/.cargo/bin:~/.gem/ruby/2.6.0/bin:~/.radicle/bin:~/.npm-packages/bin:$PATH |
|
| 8 | 8 | export EDITOR=nvim |
|
| 9 | 9 | export VISUAL=nvim |
|
| 10 | 10 | export MOZ_USE_XINPUT2=1 # Pixel scrolling in Firefox |
|
| 11 | 11 | export RIPGREP_CONFIG_PATH=$HOME/.rgrc |
|
| 12 | 12 | export PATH="$HOME/.radicle/bin:$PATH" |
|
| 13 | + | export NNN_FIFO=/tmp/nnn.fifo |
|
| 13 | 14 | ||
| 14 | 15 | systemctl --user start share-sync |
|
| 15 | 16 | ||
| 16 | 17 | if command -v xinput >/dev/null; then |
|
| 17 | 18 | prop="$(xinput | rg Touchpad | rg -o 'id=[0-9]+' | sed 's/id=//')" |
.vimrc
+1 -0
| 58 | 58 | set statusline=%<%f\ (%{gitbranch#name()})\ %h%m%r%=%y\ \ %-14(%{&sw}:%{&sts}:%{&ts}%)%-14.(%l,%c%V%)\ %P |
|
| 59 | 59 | set guicursor=n-v-c:block-Cursor/lCursor-blinkon0,i-ci:ver25-Cursor/lCursor,r-cr:hor20-Cursor/lCursor |
|
| 60 | 60 | set spelllang=en_us,en_gb |
|
| 61 | 61 | set completeopt=menu |
|
| 62 | 62 | set clipboard+=unnamedplus " Requires `xclip` |
|
| 63 | + | set shell=/bin/sh |
|
| 63 | 64 | ||
| 64 | 65 | " We don't use tabs much, but at least try and show less cruft |
|
| 65 | 66 | function! Tabline() |
|
| 66 | 67 | let s = '' |
|
| 67 | 68 | for i in range(tabpagenr('$')) |
.xinitrc
+2 -1
| 1 | 1 | #!/bin/sh |
|
| 2 | 2 | # |
|
| 3 | 3 | # ~/.xinitrc |
|
| 4 | 4 | # |
|
| 5 | - | set -ue |
|
| 5 | + | exec >~/.local/share/xorg/xinitrc-$DISPLAY.log 2>&1 |
|
| 6 | + | set -uex |
|
| 6 | 7 | ||
| 7 | 8 | [ -f ~/.synaptics ] && . ~/.synaptics |
|
| 8 | 9 | ||
| 9 | 10 | setxkbmap -option compose:lwin |
|
| 10 | 11 | setxkbmap -option compose:rwin |