summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2018-07-13 15:24:21 +0100
committerUrbain Vaes <urbain@vaes.uk>2018-07-13 15:24:21 +0100
commit795e8fe5bce79a31ddbf96ad500f322abd96ae5f (patch)
treef7cf65e7bd2a3beb837202a764047bb0bf48d61a
parentbd899a632ce1b356dc1311aff0e1050abd889a6a (diff)
[i3blocks] Fix arch updates
-rwxr-xr-xi3/.config/i3blocks/bin/updates2
-rw-r--r--vim/.vim/spell/en.utf-8.add2
-rw-r--r--vim/.vim/spell/en.utf-8.add.splbin349 -> 383 bytes
-rw-r--r--vim/.vimrc4
-rw-r--r--zsh/.zshrc3
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
--- a/vim/.vim/spell/en.utf-8.add.spl
+++ b/vim/.vim/spell/en.utf-8.add.spl
Binary files differ
diff --git a/vim/.vimrc b/vim/.vimrc
index 4d98614..ed0c8ec 100644
--- a/vim/.vimrc
+++ b/vim/.vimrc
@@ -212,7 +212,7 @@ nnoremap <silent> ,, :call remembrall#remind('n', '')<cr>
nnoremap <silent> y :<c-u>call remembrall#remind('n', 'y')<cr>
augroup remembrall
- autocmd FileType tex nnoremap <buffer> <nowait> <expr> ,l Remembrall('n', ',l')
+ autocmd FileType tex nnoremap <buffer> <nowait> <expr> ,l Remembrall(',l')
augroup END
" Ultisnips
@@ -331,11 +331,9 @@ nnoremap <nowait> <c-d> :q<cr>
nnoremap ,bd :ls<cr>:bd<space>
-nnoremap ,tn :tabnew<cr>
nnoremap ,te :tabedit
nnoremap ,tl :+tabmove<cr>
nnoremap ,th :-tabmove<cr>
-nnoremap ,tm :tabmove
nnoremap ,t0 :tabmove 0<cr>
nnoremap ,t$ :tabmove<cr>
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'