diff options
author | terminaldweller <thabogre@gmail.com> | 2022-03-03 07:58:01 +0000 |
---|---|---|
committer | terminaldweller <thabogre@gmail.com> | 2022-03-03 07:58:01 +0000 |
commit | 012984277334aff8daa666cbe25b29ec7ae9f35a (patch) | |
tree | c9f5744745749a38f6f8a4f488ecc28655039b9d | |
parent | updates for bashrc (diff) | |
download | scripts-012984277334aff8daa666cbe25b29ec7ae9f35a.tar.gz scripts-012984277334aff8daa666cbe25b29ec7ae9f35a.zip |
rsync
Diffstat (limited to '')
-rw-r--r-- | .vimrc | 15 | ||||
-rw-r--r-- | .zshrc | 22 | ||||
-rwxr-xr-x | bin/checkstyle | 2 | ||||
-rwxr-xr-x | bin/google-java-format | 2 |
4 files changed, 34 insertions, 7 deletions
@@ -804,7 +804,8 @@ let g:tagbar_type_tf = { "doxygentoolkit autocmd FileType *.sol let g:DoxygenToolkit_briefTag_pre="@dev " " let g:doxygen_enhanced_color = 1 -let g:syntax_extra_java="doxygen" +let g:syntax_extra_java='doxygen' +let g:syntax_extra_solidity='doxygen' "open-pdf conf let g:pdf_convert_on_edit = 1 @@ -1237,6 +1238,13 @@ augroup YCMDocRust \ 'syntax': 'rust' \ } augroup END +augroup YCMDocJava + autocmd! + autocmd FileType java let b:ycm_hover = { + \ 'command': 'GetDoc', + \ 'syntax': 'java' + \ } +augroup END let g:ycm_language_server = [ \ {'name': 'vim', @@ -1500,7 +1508,10 @@ inoremap <silent><leader>z <C-o>:MaximizerToggle!<CR> "pgsql let g:sql_type_default = 'pgsql' -let b:sql_type_override='pgsql' | set ft=sql +augroup PGSQL + autocmd! + autocmd FileType sql let b:sql_type_override='pgsql' | set ft=sql +augroup END let g:pgsql_pl = ['python'] " uses " register to keep last cursor position in buffers @@ -178,13 +178,13 @@ alias zh_freebsd="zssh dev@192.168.90.15" alias zh_linux="zssh dev@192.168.90.17" alias zh_router_root="zssh root@192.168.90.71" alias zh_router_admin="zssh admin@192.168.90.71" -alias youtube-dl="proxychains4 -f /home/devi/proxies/ca/proxychains.conf youtube-dl" +alias youtube_dl="proxychains4 -f /home/devi/proxies/ca/proxychains.conf youtube-dl" alias campv="proxychains4 -f /home/devi/proxies/ca/proxychains.conf mpv" alias tridactylrc="vim ~/scripts/.tridactylrc" alias fixtridactylrc="cp ~/scripts/.tridactylrc ~/" alias man="man -O width=210" -alias getmangas="proxychains4 -q -f ~/proxies/ca/proxychains.conf kaminokumo --manga" -alias getanimes="proxychains4 -q -f ~/proxies/ca/proxychains.conf kaminokumo --anime" +alias getmangas="proxychains4 -q -f ~/proxies/ice/proxychains.conf kaminokumo --manga" +alias getanimes="proxychains4 -q -f ~/proxies/ice/proxychains.conf kaminokumo --anime" alias gdb="gdb -q" alias bashrc="vim ~/scripts/.bashrc" alias fixbashrc="cp ~/scripts/.bashrc ~/" @@ -197,6 +197,7 @@ alias fixxresources="cp ~/scripts/.Xresources ~/.Xresources && xrdb -merge ~/.Xr alias qutebrowserrc="vim ~/scripts/qtbrowser/config.py" alias fixqutebrowserrc="cp ~/scripts/qtbrowser/config.py ~/.config/qutebrowser/config.py" alias pulsemixer="pulsemixer --color 1" +alias vm_disposable="cp ~/scripts/vagrant/disposable/Vagrantfile ." #autosuggest ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=#5f5fff,bg=#000000,bold,underline" @@ -308,6 +309,19 @@ export YTFZF_PREF="22" export YTFZF_ENABLE_FZF_DEFAULT_OPTS=1 export YTFZF_CACHE=~/.cache/ytfzf +backup_home(){ + # wget https://raw.githubusercontent.com/rubo77/rsync-homedir-excludes/master/rsync-homedir-excludes.txt -O /var/tmp/ignorelist + rsync -rlptgoDAXHv \ + --info=PROGRESS2,MOUNT2 \ + --exclude-from=/var/tmp/ignorelist \ + --exclude="Downloads" \ + --exclude="storage" \ + --exclude="sambashare" \ + /home/devi/ \ + /home/devi/storage/backup/devi/ \ + "$@" +} + fixrc() { cp ~/scripts/.zshrc ~/.zshrc # source ~/.zshrc @@ -652,3 +666,5 @@ eval "$(luarocks-5.3 path)" source /usr/share/fzf/completion.zsh source /usr/share/fzf/key-bindings.zsh + +[[ -s "/home/devi/.gvm/scripts/gvm" ]] && source "/home/devi/.gvm/scripts/gvm" diff --git a/bin/checkstyle b/bin/checkstyle index 40869c3..269b012 100755 --- a/bin/checkstyle +++ b/bin/checkstyle @@ -1,3 +1,3 @@ #!/bin/sh -exec env javac /home/devi/checkstyle/checkstyle-9.3-all.jar "$@" +exec env java -jar /home/devi/checkstyle/checkstyle-9.3-all.jar "$@" diff --git a/bin/google-java-format b/bin/google-java-format index 43ca97f..e955792 100755 --- a/bin/google-java-format +++ b/bin/google-java-format @@ -1,3 +1,3 @@ #!/bin/sh -exec env javac /home/devi/google-java-format/google-java-format-1.13.0-all-deps.jar "$@" +exec env java -jar /home/devi/google-java-format/google-java-format-1.13.0-all-deps.jar "$@" |