merge: work

This commit is contained in:
AngeD 2022-08-23 09:45:05 +02:00
commit 975208535b
6 changed files with 23 additions and 14 deletions

View File

@ -1,7 +1,13 @@
-- packages -- packages
vim.cmd("packadd nvim-treesitter") vim.cmd("packadd nvim-treesitter")
require'nvim-treesitter.configs'.setup { require'nvim-treesitter.configs'.setup {
auto_install = true,
highlight = {enable = true}, highlight = {enable = true},
indent = {enable = true},
}
vim.cmd("packadd nvim-treesitter-context")
require'treesitter-context'.setup {
enable = true,
} }
vim.cmd("packadd black") vim.cmd("packadd black")
@ -14,6 +20,8 @@ require'indent_blankline'.setup {
vim.cmd("packadd nvim-lspconfig") vim.cmd("packadd nvim-lspconfig")
vim.cmd("packadd vim-dirdiff")
-- variables -- variables
vim.o.path = vim.o.path .. ",**" vim.o.path = vim.o.path .. ",**"
vim.o.expandtab = true vim.o.expandtab = true

@ -1 +1 @@
Subproject commit a33e2323a7b2ba74cd4cd51ae063d4c1e429cb84 Subproject commit c04189061a937d5b6bf526c68cd4fbcb1b8cf567

@ -0,0 +1 @@
Subproject commit 8e88b67d0dc386d6ba1b3d09c206f19a50bc0625

@ -0,0 +1 @@
Subproject commit 84bc8999fde4b3c2d8b228b560278ab30c7ea4c9

6
.gitmodules vendored
View File

@ -10,6 +10,12 @@
[submodule ".config/nvim/pack/plugins/opt/nvim-treesitter"] [submodule ".config/nvim/pack/plugins/opt/nvim-treesitter"]
path = .config/nvim/pack/plugins/opt/nvim-treesitter path = .config/nvim/pack/plugins/opt/nvim-treesitter
url = https://github.com/nvim-treesitter/nvim-treesitter.git url = https://github.com/nvim-treesitter/nvim-treesitter.git
[submodule ".config/nvim/pack/plugins/opt/nvim-treesitter-context"]
path = .config/nvim/pack/plugins/opt/nvim-treesitter-context
url = https://github.com/nvim-treesitter/nvim-treesitter-context.git
[submodule ".config/nvim/pack/plugins/opt/vim-dirdiff"]
path = .config/nvim/pack/plugins/opt/vim-dirdiff
url = https://github.com/will133/vim-dirdiff.git
[submodule ".config/zsh/ohmyzsh"] [submodule ".config/zsh/ohmyzsh"]
path = .config/zsh/ohmyzsh path = .config/zsh/ohmyzsh
url = https://github.com/ohmyzsh/ohmyzsh.git url = https://github.com/ohmyzsh/ohmyzsh.git

View File

@ -1,11 +1,5 @@
#!/bin/bash #!/bin/bash
NORMAL='\e[0m'
BOLD='\e[1m'
RED='\e[31m'
ECHO='echo -e'
PS="$(docker ps -aq 2> /dev/null)" PS="$(docker ps -aq 2> /dev/null)"
if [ "$?" ] && [ "$EUID" != 0 ]; then if [ "$?" ] && [ "$EUID" != 0 ]; then
@ -18,10 +12,9 @@ IMG="$(docker images -q 2> /dev/null)"
if [ -n "$PS" ]; then if [ -n "$PS" ]; then
$ECHO "${BOLD}${RED}CONTAINERS${NORMAL}"
docker ps -a docker ps -a
$ECHO -n "Prune Containers? [Y/n/a] " echo -n "Prune Containers? [Y/n/a] "
read -r ANS read -r ANS
case "${ANS,,}" in case "${ANS,,}" in
'y'|'yes'|'') 'y'|'yes'|'')
@ -34,23 +27,23 @@ if [ -n "$PS" ]; then
fi fi
if [ -n "$VOL" ]; then if [ -n "$VOL" ]; then
$ECHO "${BOLD}${RED}VOLUMES${NORMAL}" echo
docker volume ls docker volume ls
$ECHO -n "Prune Volumes? [Y/n] " echo -n "Prune Volumes? [Ya/n] "
read -r ANS read -r ANS
case "${ANS,,}" in case "${ANS,,}" in
'y'|'yes'|'') 'y'|'yes'|'a'|'all'|'')
echo "$VOL" | xargs docker volume rm -f 2> /dev/null echo "$VOL" | xargs docker volume rm -f 2> /dev/null
;; ;;
esac esac
fi fi
if [ -n "$IMG" ]; then if [ -n "$IMG" ]; then
$ECHO "${BOLD}${RED}IMAGES${NORMAL}" echo
docker images docker images
$ECHO -n "Prune Images? [Y/n/a] " echo -n "Prune Images? [Y/n/a] "
read -r ANS read -r ANS
case "${ANS,,}" in case "${ANS,,}" in
'y'|'yes'|'') 'y'|'yes'|'')