commit a5927021261d22de3d6a1a96a766dcc99bfcdaca
parent 01eafb78ab95bcd8e3b3a52edfbc498f5649bf1a
Author: Hayden Hamilton <hayden@haydenvh.com>
Date: Sat, 28 Mar 2020 13:53:45 +0000
.
Diffstat:
6 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/.config/alias b/.config/alias
@@ -22,7 +22,7 @@ zsleep sudo zzz
hibernate sudo ZZZ
rmst bash ~/.scripts/random/gnulinux.sh
vimb \vimb --no-maximize
-cleancache sudo xbps-remove -Ooy; rm -rf ~/.cache ~/.mozilla ~/.local/share/webkitgtk ~/.viminfo ~/.wget-hsts ~/.lesshst ~/.sh_history ~/.python_history ~/.*history ~/.*hst ~/.dbus ~/.sciminfo ~/.viminfo ~/.w3m; sudo vkpurge rm all
+cleancache sudo xbps-remove -Ooy; rm -rf ~/.cache ~/.mozilla ~/.local/share/webkitgtk ~/.viminfo ~/.wget-hsts ~/.lesshst ~/.sh_history ~/.python_history ~/.*history ~/.*hst ~/.dbus ~/.sciminfo ~/.viminfo ~/.w3m ~/.config/vimb/cookies.db; sudo vkpurge rm all;
mkconfall mkmailpass; mkalias
tmux tmux -f ~/.config/tmux/config
nw newsboat
diff --git a/.config/neomutt/neomuttrc b/.config/neomutt/neomuttrc
@@ -4,10 +4,10 @@ source user
source pass
set smtp_authenticators = "plain"
-set spoolfile = "~/general/mail/inbox"
-set record = "~/general/mail/sent"
-set postponed = "~/general/mail/drafts"
-set trash = "~/general/mail/rubbish"
+set spoolfile = "~/mail/inbox"
+set record = "~/mail/sent"
+set postponed = "~/mail/drafts"
+set trash = "~/mail/rubbish"
mailboxes =inbox =sent =drafts =rubbish
set mbox_type = Maildir
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim
@@ -173,8 +173,7 @@ ino <Right> <Nop>
nnoremap <leader>CS :let @/=''<CR>
"Registers
-nnoremap <c-y> "*y
-inoremap <c-y> "*y
+nnoremap y "*y
"Terminals
nnoremap <leader>Tt :vsplit term://zsh<CR><c-h><c-l>
diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc
@@ -5,17 +5,17 @@ mkalias
precmd(){
prev="$?"
branch=$(git branch 2>/dev/null | grep "\*" | tr -d '\*')
- prompt="%F{3}"
- prompt+="█ "
+ dir=$(pwd | sed "s~$HOME~~")
+ prompt="%{$(tput setab 3)%0G%} %{$(tput sgr0)%0G%} "
[ "$prev" != "0" ] && prompt+="%F{10}$prev "
prompt+="%F{4}"
prompt+="%n"
prompt+=" %F{6}"
- prompt+="%~/"
+ prompt+="~$dir"
prompt+="%F{5}"
prompt+="$branch"
prompt+="%F{5}"
- prompt+=" > "
+ prompt+="%{ > %0G%}"
prompt+="%F"
export PROMT="$prompt"
}
diff --git a/.config/zsh/alias.zsh b/.config/zsh/alias.zsh
@@ -22,7 +22,7 @@ alias zsleep=" sudo zzz"
alias hibernate=" sudo ZZZ"
alias rmst=" bash ~/.scripts/random/gnulinux.sh"
alias vimb=" \vimb --no-maximize"
-alias cleancache=" sudo xbps-remove -Ooy; rm -rf ~/.cache ~/.mozilla ~/.local/share/webkitgtk ~/.viminfo ~/.wget-hsts ~/.lesshst ~/.sh_history ~/.python_history ~/.*history ~/.*hst ~/.dbus ~/.sciminfo ~/.viminfo ~/.w3m; sudo vkpurge rm all"
+alias cleancache=" sudo xbps-remove -Ooy; rm -rf ~/.cache ~/.mozilla ~/.local/share/webkitgtk ~/.viminfo ~/.wget-hsts ~/.lesshst ~/.sh_history ~/.python_history ~/.*history ~/.*hst ~/.dbus ~/.sciminfo ~/.viminfo ~/.w3m ~/.config/vimb/cookies.db; sudo vkpurge rm all;"
alias mkconfall=" mkmailpass; mkalias"
alias tmux=" tmux -f ~/.config/tmux/config"
alias nw=" newsboat"
diff --git a/.zprofile b/.zprofile
@@ -38,6 +38,7 @@ xrdb -merge ~/.local/xres
export XDG_CONFIG_HOME=$HOME/.config
export XDG_CACHE_HOME=$HOME/.cache
export XDG_DATA_DIRS=/usr/local/share:/usr/share:$HOME/.local/share
+export XDG_RUNTIME_DIR=/tmp
export XAUTHORITY=$HOME/.local/.xauth
export LESSHISTFILE=-
export GNUPGHOME=$HOME/.local/gnupg