This commit is contained in:
Brian Zalewski 2023-11-30 06:13:23 +00:00
parent dd2f02b23b
commit 941e42234a
4 changed files with 9 additions and 7 deletions

View file

@ -12,7 +12,8 @@
function vimSetup() {
### Run the VIM plugin install routine
if command -v vim > /dev/null; then
vim +PlugInstall +qall +silent > /dev/null && logg success 'Successfully ran vim +PlugInstall +qall +silent' || logg error 'Failed to run vim +PlugInstall +qall +silent'
logg info 'Running vim +PlugInstall +qall' && vim +'PlugInstall --sync' +qall &> /dev/null || logg error 'Failed to run vim +PlugInstall +qall +silent'
logg info 'Running vim +CocUpdateSync +qall' && vim +CocUpdateSync +qall || logg error 'Failed to run vim +CocUpdateSync +qall'
fi
}
vimSetup

View file

@ -12,10 +12,8 @@
{{ includeTemplate "universal/logg" }}
if [ -d "${XDG_DATA_HOME:-$HOME/.local/share}/emsdk" ]; then
cd "${XDG_DATA_HOME:-$HOME/.local/share}/emsdk"
logg info 'Pulling latest changes for Emscripten source code'
git pull && logg success 'Successfully pulled latest Emscripten source code'
./emsdk install latest > /dev/null && logg success 'Installed latest Emscripten target'
./emsdk activate latest > /dev/null && logg success 'Activated latest Emscripten target'
logg info 'Pulling latest changes for Emscripten source code' && git pull
logg info "Running emsdk install latest" && emsdk install latest > /dev/null
logg info "Running emsdk activate latest" && emsdk activate latest > /dev/null
logg info 'Profile source inclusions are already implemented in Bash / ZSH profile'
fi

View file

@ -26,7 +26,7 @@ fi
### Ensure ble.sh installed
if [ -d "${XDG_DATA_HOME:-$HOME/.local/share}/blesh/src" ]; then
logg info 'Make installing blesh'
make -C "${XDG_DATA_HOME:-$HOME/.local/share}/blesh/src" install > /dev/null && logg success "Installed ble.sh"
make -C "${XDG_DATA_HOME:-$HOME/.local/share}/blesh/src" install > /dev/null && logg success "Installed ble.sh" || logg error "Error running make -C "${XDG_DATA_HOME:-$HOME/.local/share}/blesh/src" install"
fi
### Bash-it completions / plugins

View file

@ -198,6 +198,9 @@ export PATH="$PATH:${XDG_CONFIG_HOME:-$HOME/.config}/dotnet/.dotnet/tools"
### Elastic Agent
# https://www.elastic.co/guide/en/fleet/current/agent-environment-variables.html#env-common-vars
### emsdk
export PATH="${XDG_DATA_HOME:-$HOME/.local/share}/emsdk:$PATH"
### ffmpeg
export FFMPEG_DATADIR="${XDG_CONFIG_HOME:-$HOME/.config}/ffmpeg"