diff options
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | INSTALL.txt | 2 | ||||
| -rwxr-xr-x | setup.sh | 1 | ||||
| -rwxr-xr-x | sync.sh | 17 |
4 files changed, 15 insertions, 6 deletions
@@ -1,5 +1,4 @@ /.config/alacritty/alacritty.local.yml -/.config/emacs /.config/newsboat/urls /.config/nvim/plugin/packer_compiled.lua /bin/gitalias/git-* diff --git a/INSTALL.txt b/INSTALL.txt index f4aa883..e00793c 100644 --- a/INSTALL.txt +++ b/INSTALL.txt @@ -27,7 +27,6 @@ $ brew install \ $ brew install --cask \ alacritty \ - emacs \ keepassxc \ ; @@ -56,7 +55,6 @@ $ sudo apt install \ bat \ cmake \ curl \ - emacs \ fd-find \ fzf \ gcc \ @@ -57,7 +57,6 @@ done for name in \ alacritty \ bat \ - emacs \ git \ newsboat \ nvim \ @@ -1,6 +1,18 @@ #!/bin/bash -# Neovim {{{1 +# Remove old settings. {{{1 + +# Emacs {{{2 + +emacs_conf_dir="${XDG_CONFIG_HOME:-$HOME/.config}"/emacs +if [ -d "$emacs_conf_dir" ]; then + echo "emacs: remove $emacs_conf_dir" + rm -rf "$emacs_conf_dir" +fi + +# Synchronize current settings. {{{1 + +# Neovim {{{2 if type nvim >/dev/null 2>&1; then packer_nvim_dir="${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/pack/packer/opt/packer.nvim nvim_conf_dir="${XDG_CONFIG_HOME:-$HOME/.config}"/nvim @@ -12,11 +24,12 @@ if type nvim >/dev/null 2>&1; then fi fi -# Bat {{{1 +# Bat {{{2 if type bat >/dev/null 2>&1; then echo "bat: rebuild cache" bat cache --clear && bat cache --build fi # }}} +# }}} # vim: foldmethod=marker |
