From 96935fcff72638d619166931d1ab0b618f29b432 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Tue, 22 Sep 2020 16:54:59 +0300 Subject: move Nextcloud to nextcloud --- .config/nvim/init.vim | 12 ++++++------ .taskrc##c.desktop,h.maus | 2 +- .zshrc | 23 +++++++++++++++++------ 3 files changed, 24 insertions(+), 13 deletions(-) diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index 806e591..d451e86 100755 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -172,14 +172,14 @@ autocmd FileType vimwiki,latex,tex setlocal formatprg=/home/yigit/bin/sentences function! CreateNote() py3 import uuid - exe "e! " . fnameescape("~/Nextcloud/personal_wiki/text/box/" . py3eval('str(uuid.uuid4())[:6]') . ".wiki") + exe "e! " . fnameescape("~/nextcloud/personal_wiki/text/box/" . py3eval('str(uuid.uuid4())[:6]') . ".wiki") let l:text="= up =\n\n= down =\n\n= keywords =\n\n" put =l:text norm gg endfunction function! CreatePaper(citekey) - exe "e! " . fnameescape("~/Nextcloud/personal_wiki/text/papers/" . a:citekey . ".wiki") + exe "e! " . fnameescape("~/nextcloud/personal_wiki/text/papers/" . a:citekey . ".wiki") let l:timestap="%date " . strftime("%F") let l:text="= Came From =\n\n= Takeaways =\n\n= Might Go To =\n\n" @@ -189,7 +189,7 @@ function! CreatePaper(citekey) endfunction function! CreateReference(citekey) - exe "e! " . fnameescape("~/Nextcloud/personal_wiki/text/reference/" . a:citekey . ".wiki") + exe "e! " . fnameescape("~/nextcloud/personal_wiki/text/reference/" . a:citekey . ".wiki") let l:timestap="%date " . strftime("%F") let l:text="= Literature Notes =\n\n= Citation =\n\n" @@ -469,11 +469,11 @@ let g:startify_custom_header = "}}} "{{{ vimwiki -let g:vimwiki_list = [{'path': '/home/yigit/Nextcloud/personal_wiki/text', - \ 'path_html': '/home/yigit/Nextcloud/personal_wiki/html', +let g:vimwiki_list = [{'path': '/home/yigit/nextcloud/personal_wiki/text', + \ 'path_html': '/home/yigit/nextcloud/personal_wiki/html', \ 'auto_generate_tags': 1, \ 'automatic_nested_syntaxes': 1, - \ 'template_path': '/home/yigit/Nextcloud/personal_wiki/templates', + \ 'template_path': '/home/yigit/nextcloud/personal_wiki/templates', \ 'template_default': 'default_template', \ 'template_ext': '.html', \ 'auto_export': 1, diff --git a/.taskrc##c.desktop,h.maus b/.taskrc##c.desktop,h.maus index a29ff5f..0f3fff9 100644 --- a/.taskrc##c.desktop,h.maus +++ b/.taskrc##c.desktop,h.maus @@ -11,7 +11,7 @@ # Use the command 'task show' to see all defaults and overrides # Files -data.location=/home/yigit/Nextcloud/.task +data.location=/home/yigit/nextcloud/.task # Color theme (uncomment one to use) #include /usr/share/doc/task/rc/light-16.theme diff --git a/.zshrc b/.zshrc index c334881..050a45a 100644 --- a/.zshrc +++ b/.zshrc @@ -112,19 +112,19 @@ alias df='df -h' alias mirrors='sudo pacman-mirrors -f 0 && sudo pacman -Syy' alias -g C='| xsel -b' # Copy to clipboard alias bc='bc -l' -alias ledger="ledger -f ~/Nextcloud/ledger.ledger" -alias report="report -f ~/Nextcloud/ledger.ledger" +alias ledger="ledger -f ~/nextcloud/ledger.ledger" +alias report="report -f ~/nextcloud/ledger.ledger" alias think='tickle +1d' #think it over -alias lim='nvim /home/yigit/Nextcloud/ledger.ledger' +alias lim='nvim /home/yigit/nextcloud/ledger.ledger' alias maybe='task due:someday list' alias music='mpv --no-vid' alias s="du -hs * | sort -rh | head -5" alias b="buku --suggest --colors 'onlxm'" alias tp='trash-put' alias ls='exa' -alias wim='nvim /home/yigit/Nextcloud/personal_wiki/text/index.wiki' +alias wim='nvim /home/yigit/nextcloud/personal_wiki/text/index.wiki' alias ssh='TERM=xterm-256color ssh' -alias torem='cd /home/yigit/Nextcloud/remind/' +alias torem='cd /home/yigit/nextcloud/remind/' alias ta='task add +next +@home' export MANPAGER="nvim +Man! -c ':set signcolumn='" @@ -181,10 +181,21 @@ n () fi } -export NNN_BMS='w:~/Nextcloud/personal_wiki;r:~/Nextcloud/remind;n:~/Nextcloud' +export NNN_BMS='w:~/nextcloud/personal_wiki;r:~/nextcloud/remind;n:~/nextcloud' export NNN_COLORS="2136" # use a different color for each context export NNN_FCOLORS='c1e2272e006033f7c6d6abc4' export NNN_PLUG='d:dragdrop;z:fzz;p:preview-tui' # Add RVM to PATH for scripting. Make sure this is the last PATH variable change. export PATH="$PATH:$HOME/.rvm/bin" + +PATH="/home/yigit/perl5/bin${PATH:+:${PATH}}"; export PATH; +PERL5LIB="/home/yigit/perl5/lib/perl5${PERL5LIB:+:${PERL5LIB}}"; export PERL5LIB; +PERL_LOCAL_LIB_ROOT="/home/yigit/perl5${PERL_LOCAL_LIB_ROOT:+:${PERL_LOCAL_LIB_ROOT}}"; export PERL_LOCAL_LIB_ROOT; +PERL_MB_OPT="--install_base \"/home/yigit/perl5\""; export PERL_MB_OPT; +PERL_MM_OPT="INSTALL_BASE=/home/yigit/perl5"; export PERL_MM_OPT; + +if [ -n "$DESKTOP_SESSION" ];then + eval $(gnome-keyring-daemon --start) + export SSH_AUTH_SOCK +fi -- cgit v1.2.3-70-g09d2