mirror of
https://codeberg.org/vlw/dotfiles.git
synced 2026-01-12 05:45:59 +01:00
fix: update gitignore
This commit is contained in:
parent
09786af87e
commit
582895b543
2 changed files with 5 additions and 1 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -16,9 +16,9 @@
|
||||||
!.local/bin/
|
!.local/bin/
|
||||||
!.local/bin/scripts/
|
!.local/bin/scripts/
|
||||||
!.local/bin/scripts/install_dotfiles.sh
|
!.local/bin/scripts/install_dotfiles.sh
|
||||||
|
!.local/bin/scripts/code_server_export_extensions.sh
|
||||||
!.local/bin/git-hooks/
|
!.local/bin/git-hooks/
|
||||||
!.local/bin/git-hooks/pre-commit
|
!.local/bin/git-hooks/pre-commit
|
||||||
!.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/
|
||||||
|
|
|
||||||
4
.local/bin/scripts/code_server_export_extensions.sh
Executable file
4
.local/bin/scripts/code_server_export_extensions.sh
Executable file
|
|
@ -0,0 +1,4 @@
|
||||||
|
#!/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
|
||||||
Loading…
Add table
Reference in a new issue