Doom Emacs Update Script
- Update Doom Emacs submodule - Add script to update doom emacs using chemacs2 environment variables
This commit is contained in:
13
.scripts/doom_emacs_update.sh
Executable file
13
.scripts/doom_emacs_update.sh
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
# Define some local variables
|
||||
DOOM_BIN=~/.config/doom-emacs/bin/doom
|
||||
DOOM_DIR_PATH=~/.config/doom-emacs-config
|
||||
|
||||
# Synchronize personal config
|
||||
DOOMDIR=$DOOM_DIR_PATH $DOOM_BIN sync
|
||||
|
||||
# Upgrade packages
|
||||
DOOMDIR=$DOOM_DIR_PATH $DOOM_BIN upgrade
|
||||
|
||||
# Delete orphaned packages & repos, and compacts them
|
||||
DOOMDIR=$DOOM_DIR_PATH $DOOM_BIN purge
|
Reference in New Issue
Block a user