diff --git a/.spacemacs b/.spacemacs index 7d83471..9c820f2 100644 --- a/.spacemacs +++ b/.spacemacs @@ -30,20 +30,21 @@ values." dotspacemacs-configuration-layer-path '() ;; List of configuration layers to load. dotspacemacs-configuration-layers - '( - ;; ---------------------------------------------------------------- - ;; Example of useful layers you may want to use right away. - ;; Uncomment some layer names and press (Vim style) or - ;; (Emacs style) to install them. - ;; ---------------------------------------------------------------- - auto-completion + ;; ---------------------------------------------------------------- + ;; Example of useful layers you may want to use right away. + ;; Uncomment some layer names and press (Vim style) or + ;; (Emacs style) to install them. + ;; ---------------------------------------------------------------- + '( better-defaults + auto-completion docker emacs-lisp git go helm html + latex markdown org syntax-checking @@ -315,6 +316,10 @@ This is the place where most of your configurations should be done. Unless it is explicitly specified that a variable should be set before a package is loaded, you should place your code here." (setq dired-listing-switches "-alh") + (setq-default dotspacemacs-configuration-layers + '((auto-completion :variables + auto-completion-enable-snippets-in-popup t + auto-completion-enable-help-tooltip t))) ) ;; Do not write anything past this comment. This is where Emacs will diff --git a/scripts/install.sh b/scripts/install.sh index 05a988b..424baf0 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -155,7 +155,7 @@ install_i3() { aspell-de \ aspell-en \ clipit \ - emacs25 \ + emacs \ feh \ fonts-font-awesome \ fswebcam \ @@ -177,6 +177,11 @@ install_i3() { apt autoclean apt clean + git clone https://github.com/syl20bnr/spacemacs ~/.emacs.d + rm -rf ~/.emacs.d/private/snippets + git clone https://github.com/AndreaCrotti/yasnippet-snippets ~/.emacs.d/private/yas-snips + ln -s ~/.emacs.d/private/yas-snips/snippets ~/emacs.d/private/snippets/ + no_suspend echo "... setting capslock to control" @@ -246,6 +251,38 @@ install_compose() { /usr/bin/docker-compose version } + +install_virtualbox() { + # https://wiki.debian.org/VirtualBox#Installation_of_non-free_edition + apt install -y \ + apt-transport-https \ + ca-certificates \ + curl \ + gnupg2 \ + software-properties-common \ + --no-install-recommends + + curl -fsSL https://download.docker.com/linux/debian/gpg | $SUDO apt-key add - + + # add docker apt repo + cat <<-EOF > /etc/apt/sources.list.d/docker.list + deb [arch=amd64] https://download.docker.com/linux/debian stretch stable + # deb [arch=amd64] https://download.docker.com/linux/debian stretch test + # deb [arch=amd64] https://download.docker.com/linux/debian stretch nightly +EOF + + apt update + apt install -y \ + docker-ce \ + --no-install-recommends + + groupadd docker + addgroup ${USERNAME} docker + + docker version + docker info +} + get_dotfiles() { (