Skip to content

Commit

Permalink
Auto-copying skeleton files
Browse files Browse the repository at this point in the history
This will be cleaner after this new feature gets implemented:
anishathalye/dotbot#355
  • Loading branch information
denilsonsa committed Feb 14, 2024
1 parent 4e35e24 commit a4a1fdc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
17 changes: 8 additions & 9 deletions base.conf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
create: true
relink: true
relative: true
shell:
stdin: true
stdout: true
stderr: true
- clean: ['~']
- link:
'~/.ackrc': 'base/.ackrc'
Expand Down Expand Up @@ -103,12 +107,7 @@
- shell:
- ['test -f ~/.vim/autoload/plug.vim || curl -fLo ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim', 'Installing vim-plug (if needed)']
- ['test -d ~/XDG || { mkdir ~/XDG ; mv -v ~/Desktop ~/XDG/Desktop ; mv -v ~/Documents ~/XDG/Documents ; mv -v ~/Templates ~/XDG/Templates ; mv -v ~/Public ~/XDG/Public ; mv -v ~/Music ~/XDG/Music ; mv -v ~/Pictures ~/XDG/Pictures ; mv -v ~/Videos ~/XDG/Videos ; }']
-
command: ['vim -c PlugInstall', 'Please observe any error messages and quit vim afterwards.']
stdin: true
stdout: true
stderr: true
-
command: ["echo 'You may also want to install:\n https://github.com/denilsonsa/indicator-chars\n https://github.com/denilsonsa/arandr-indicator\n https://github.com/denilsonsa/small_scripts'"]
stdout: true
stderr: true
- ['test -e ~/.profile-local || cp -v base/.profile-local ~/.profile-local', 'Installing local shell config skeleton (if missing)']
- ['test -e ~/.vim/vimrc-local || cp -v base/.vim/vimrc-local ~/.vim/vimrc-local', 'Installing local vim config skeleton (if missing)']
- ['vim -c PlugInstall', 'Please observe any error messages and quit vim afterwards.']
- ["echo 'You may also want to install:\n https://github.com/denilsonsa/indicator-chars\n https://github.com/denilsonsa/arandr-indicator\n https://github.com/denilsonsa/small_scripts'"]
2 changes: 1 addition & 1 deletion base/.vim/vimrc-local
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ endfunction
" Executed after the main vimrc has finished loading
function VimrcLocalLateInit()

set guifont=Inconsolata\ Medium\ 9
"set guifont=Inconsolata\ Medium\ 9

" Custom file settings, such as tabs/spaces and indentation.
"au FileType foobar setlocal et ts=4 sw=4
Expand Down

0 comments on commit a4a1fdc

Please sign in to comment.