mirror of
https://codeberg.org/vlw/dotfiles.git
synced 2025-11-05 09:22:42 +01:00
Compare commits
No commits in common. "a86e9462f291a4526acc56569a1f14e4f32fc78d" and "fb45cc52794eb848575250d2684b3faeb0b91a98" have entirely different histories.
a86e9462f2
...
fb45cc5279
4 changed files with 0 additions and 35 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
|
@ -5,7 +5,6 @@
|
||||||
|
|
||||||
# Include configs
|
# Include configs
|
||||||
!.nanorc
|
!.nanorc
|
||||||
!Makefile
|
|
||||||
!.tmux.conf
|
!.tmux.conf
|
||||||
!.gitconfig
|
!.gitconfig
|
||||||
!.ssh/config
|
!.ssh/config
|
||||||
|
|
@ -13,13 +12,10 @@
|
||||||
!.config/git/**
|
!.config/git/**
|
||||||
!.bash_aliases
|
!.bash_aliases
|
||||||
!.bash_profile
|
!.bash_profile
|
||||||
!.local/bin/
|
|
||||||
!.local/bin/code_server_export_extensions
|
|
||||||
!.local/share/
|
!.local/share/
|
||||||
!.local/share/code-server/
|
!.local/share/code-server/
|
||||||
!.local/share/code-server/User/
|
!.local/share/code-server/User/
|
||||||
!.local/share/code-server/User/settings.json
|
!.local/share/code-server/User/settings.json
|
||||||
!.local/share/code-server/User/extensions.json
|
|
||||||
!.local/share/VSCodium/
|
!.local/share/VSCodium/
|
||||||
!.local/share/VSCodium/User/
|
!.local/share/VSCodium/User/
|
||||||
!.local/share/VSCodium/User/settings.json
|
!.local/share/VSCodium/User/settings.json
|
||||||
|
|
|
||||||
|
|
@ -1,4 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
# Add each extension to a JSON array and write to file in code-server User dir
|
|
||||||
code-server --list-extensions | jq -R -s 'split("\n") | .[:-1]' > $HOME/.local/share/code-server/User/extensions.json
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
||||||
[
|
|
||||||
"demartini.vscode-idiomatic-css-comments-snippets",
|
|
||||||
"hangxingliu.vscode-nginx-conf-hint",
|
|
||||||
"ms-python.debugpy",
|
|
||||||
"ms-python.python",
|
|
||||||
"ms-vscode.hexeditor",
|
|
||||||
"ngtystr.ppm-pgm-viewer-for-vscode",
|
|
||||||
"xdebug.php-debug"
|
|
||||||
]
|
|
||||||
18
Makefile
18
Makefile
|
|
@ -1,18 +0,0 @@
|
||||||
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
|
|
||||||
|
|
||||||
# Use tracked git hooks
|
|
||||||
git-hooks:
|
|
||||||
git config --local core.hooksPath .local/share/git/hooks
|
|
||||||
|
|
||||||
# Export code-server extensions to config directory
|
|
||||||
code-extensions:
|
|
||||||
~/.local/bin/code_server_export_extensions
|
|
||||||
Loading…
Add table
Reference in a new issue