mirror of
https://codeberg.org/vlw/dotfiles.git
synced 2026-01-13 13:56:00 +01:00
Compare commits
4 commits
82cd2c6423
...
a3e1723787
| Author | SHA1 | Date | |
|---|---|---|---|
| a3e1723787 | |||
| b62fc60c79 | |||
| f1beb74b7c | |||
| 8ecab0adac |
5 changed files with 16 additions and 9 deletions
4
.config/code-server/config.yaml
Normal file
4
.config/code-server/config.yaml
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
bind-addr: 0.0.0.0:8000
|
||||
auth: none
|
||||
cert: false
|
||||
|
||||
7
.gitignore
vendored
7
.gitignore
vendored
|
|
@ -11,12 +11,15 @@
|
|||
!.ssh/config
|
||||
!.config/git/
|
||||
!.config/git/**
|
||||
!.config/code-server/
|
||||
!.config/code-server/**
|
||||
!.bash_aliases
|
||||
!.bash_profile
|
||||
!.local/bin/
|
||||
!.local/bin/scripts/
|
||||
!.local/bin/scripts/**
|
||||
!.local/bin/git-hooks/
|
||||
!.local/bin/git-hooks/pre-commit
|
||||
!.local/bin/code_server_export_extensions
|
||||
!.local/bin/git-hooks/**
|
||||
!.local/share/
|
||||
!.local/share/code-server/
|
||||
!.local/share/code-server/User/
|
||||
|
|
|
|||
5
.local/bin/scripts/install_dotfiles.sh
Executable file
5
.local/bin/scripts/install_dotfiles.sh
Executable file
|
|
@ -0,0 +1,5 @@
|
|||
#!/bin/sh
|
||||
|
||||
cp -rp . $HOME
|
||||
cd ..
|
||||
rm -r dotfiles
|
||||
9
Makefile
9
Makefile
|
|
@ -2,12 +2,7 @@ install: dotfiles git-hooks
|
|||
|
||||
# Install dotfiles in users home directory
|
||||
dotfiles:
|
||||
@if [ -d dotfiles ]; then \
|
||||
cp -r ./dotfiles/. $HOME \
|
||||
rm -rf dotfiles \
|
||||
else \
|
||||
echo "Dotfiles already installed or folder is missing"; \
|
||||
fi
|
||||
./.local/bin/scripts/install_dotfiles.sh
|
||||
|
||||
# Use tracked git hooks
|
||||
git-hooks:
|
||||
|
|
@ -15,4 +10,4 @@ git-hooks:
|
|||
|
||||
# Export code-server extensions to config directory
|
||||
code-extensions:
|
||||
~/.local/bin/code_server_export_extensions
|
||||
~/.local/bin/scripts/code_server_export_extensions.sh
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue