mirror of
https://github.com/ViViDboarder/vim-settings.git
synced 2024-12-23 03:27:34 +00:00
Clean up Docker comments
This commit is contained in:
parent
77266fe95f
commit
b48edf86de
@ -63,12 +63,6 @@ RUN nvim --headless -c "lua require('plugins.treesitter').bootstrap()" -c quital
|
|||||||
|
|
||||||
# Create persistent data dir
|
# Create persistent data dir
|
||||||
RUN mkdir -p /home/vividboarder/.data
|
RUN mkdir -p /home/vividboarder/.data
|
||||||
# VOLUME /home/vividboarder/.data
|
|
||||||
|
|
||||||
# Make home dir read/write for everyone
|
|
||||||
# RUN chown -R ":users" /home/vividboarder
|
|
||||||
# RUN chmod -R a+rw /home/vividboarder
|
|
||||||
# RUN chmod -R a-s /home/vividboarder
|
|
||||||
|
|
||||||
# Generate workdir
|
# Generate workdir
|
||||||
RUN mkdir /home/vividboarder/data
|
RUN mkdir /home/vividboarder/data
|
||||||
|
@ -2,31 +2,10 @@
|
|||||||
|
|
||||||
set -ex
|
set -ex
|
||||||
|
|
||||||
# VIM_SYNC_DIR=$HOME/vim-settings
|
|
||||||
# # copy settings to volume
|
|
||||||
# [ -d "$VIM_SYNC_DIR" ] || cp -r /vim-settings "$VIM_SYNC_DIR"
|
|
||||||
#
|
|
||||||
# # Link config files
|
|
||||||
# [ -d "$XDG_CONFIG_HOME" ] || mkdir -p "$XDG_CONFIG_HOME"
|
|
||||||
# [ -d "$XDG_CONFIG_HOME/nvim" ] || ln -s "$VIM_SYNC_DIR/vim" "$XDG_CONFIG_HOME/nvim"
|
|
||||||
# [ -d "$XDG_CONFIG_HOME/nvim/backup" ] || mkdir -p "$XDG_CONFIG_HOME/nvim/backup"
|
|
||||||
# [ -d "$HOME/.vim" ] || ln -s "$VIM_SYNC_DIR/vim" "$HOME/.vim"
|
|
||||||
# [ -f "$HOME/.vimrc" ] || ln -s "$VIM_SYNC_DIR/vim/init.vim" "$HOME/.vimrc"
|
|
||||||
|
|
||||||
VOLUME_DATA=/home/vividboarder/.data
|
VOLUME_DATA=/home/vividboarder/.data
|
||||||
[ -d "$VOLUME_DATA/nvim/backup" ] || mkdir -p "$VOLUME_DATA/nvim/backup"
|
[ -d "$VOLUME_DATA/nvim/backup" ] || mkdir -p "$VOLUME_DATA/nvim/backup"
|
||||||
[ -d "$XDG_CONFIG_HOME/nvim/backup" ] || ln -s "$VOLUME_DATA/nvim/backup" "$XDG_CONFIG_HOME/nvim/backup"
|
[ -d "$XDG_CONFIG_HOME/nvim/backup" ] || ln -s "$VOLUME_DATA/nvim/backup" "$XDG_CONFIG_HOME/nvim/backup"
|
||||||
|
|
||||||
# TS_PARSERS="$HOME/.local/share/nvim/site/pack/packer/start/nvim-treesitter/parser"
|
|
||||||
# [ -d "$VOLUME_DATA/ts-parsers" ] || mkdir -p "$VOLUME_DATA/ts-parsers"
|
|
||||||
# rm -fr "$TS_PARSERS"
|
|
||||||
# ln -s "$VOLUME_DATA/ts-parsers" "$TS_PARSERS"
|
|
||||||
#
|
|
||||||
# TS_PARSERS="$HOME/.local/share/nvim/site/parser"
|
|
||||||
# [ -d "$VOLUME_DATA/ts-parsers" ] || mkdir -p "$VOLUME_DATA/ts-parsers"
|
|
||||||
# rm -fr "$TS_PARSERS"
|
|
||||||
# ln -s "$VOLUME_DATA/ts-parsers" "$TS_PARSERS"
|
|
||||||
|
|
||||||
if [ "$1" == "bash" ]; then
|
if [ "$1" == "bash" ]; then
|
||||||
exec "$@"
|
exec "$@"
|
||||||
else
|
else
|
||||||
|
@ -22,5 +22,4 @@ docker run --interactive --rm --tty \
|
|||||||
--entrypoint /docker-entry.sh \
|
--entrypoint /docker-entry.sh \
|
||||||
--user "vividboarder:$(id -g)" \
|
--user "vividboarder:$(id -g)" \
|
||||||
--group-add users \
|
--group-add users \
|
||||||
nvim "$@"
|
vividboarder/my-neovim nvim "$@"
|
||||||
# vividboarder/my-neovim nvim "$@"
|
|
||||||
|
Loading…
Reference in New Issue
Block a user