From 795e8fe5bce79a31ddbf96ad500f322abd96ae5f Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Fri, 13 Jul 2018 15:24:21 +0100 Subject: [i3blocks] Fix arch updates --- i3/.config/i3blocks/bin/updates | 2 +- vim/.vim/spell/en.utf-8.add | 2 ++ vim/.vim/spell/en.utf-8.add.spl | Bin 349 -> 383 bytes vim/.vimrc | 4 +--- zsh/.zshrc | 3 ++- 5 files changed, 6 insertions(+), 5 deletions(-) diff --git a/i3/.config/i3blocks/bin/updates b/i3/.config/i3blocks/bin/updates index bc57eac..4385305 100755 --- a/i3/.config/i3blocks/bin/updates +++ b/i3/.config/i3blocks/bin/updates @@ -1,7 +1,7 @@ #!/usr/bin/env bash if command -v pacman -Qu > /dev/null; then - n_updates=$(checkupdates | wc -l) + n_updates=$(pacman -Qu | wc -l) if [[ n_updates -gt 150 ]]; then color='red' elif [[ n_updates -gt 50 ]]; then diff --git a/vim/.vim/spell/en.utf-8.add b/vim/.vim/spell/en.utf-8.add index 223ccf4..2ae9dc0 100644 --- a/vim/.vim/spell/en.utf-8.add +++ b/vim/.vim/spell/en.utf-8.add @@ -17,3 +17,5 @@ inkjet microfluidic spinodal Sobolev +prefered +orthonormality diff --git a/vim/.vim/spell/en.utf-8.add.spl b/vim/.vim/spell/en.utf-8.add.spl index dafacb7..9d07ad0 100644 Binary files a/vim/.vim/spell/en.utf-8.add.spl and b/vim/.vim/spell/en.utf-8.add.spl differ diff --git a/vim/.vimrc b/vim/.vimrc index 4d98614..ed0c8ec 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -212,7 +212,7 @@ nnoremap ,, :call remembrall#remind('n', '') nnoremap y :call remembrall#remind('n', 'y') augroup remembrall - autocmd FileType tex nnoremap ,l Remembrall('n', ',l') + autocmd FileType tex nnoremap ,l Remembrall(',l') augroup END " Ultisnips @@ -331,11 +331,9 @@ nnoremap :q nnoremap ,bd :ls:bd -nnoremap ,tn :tabnew nnoremap ,te :tabedit nnoremap ,tl :+tabmove nnoremap ,th :-tabmove -nnoremap ,tm :tabmove nnoremap ,t0 :tabmove 0 nnoremap ,t$ :tabmove diff --git a/zsh/.zshrc b/zsh/.zshrc index 682140c..f4c12f0 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -162,7 +162,8 @@ alias ff='FreeFem++' alias m='cd ~/.mutt/attachments && mutt && cd -' alias e='nvim' alias mux='tmuxinator' -alias email="mbsync -a" +alias email='mbsync -a' +alias renet='systemctl restart NetworkManager.service' # Applications alias -s pdf='xdg-open' -- cgit v1.2.3