Add system-type filters, add git-clone handling to main script
This commit is contained in:
@@ -1,17 +1,17 @@
|
||||
#!/bin/zsh
|
||||
|
||||
local neovim_dir=$HOME/.local/build/neovim
|
||||
local neovim_version="v0.10.3"
|
||||
[ ! -z $NVIM_VERSION ] && neovim_version="$NVIM_VERSION"
|
||||
echo "neovim_version: \"$neovim_version\""
|
||||
install_neovim_dir=$HOME/.local/build/neovim
|
||||
install_neovim_version="v0.10.3"
|
||||
[ ! -z $NVIM_VERSION ] && install_neovim_version="$NVIM_VERSION"
|
||||
echo "install_neovim_version: \"$install_neovim_version\""
|
||||
|
||||
[ ! -d $neovim_dir ] && git clone https://github.com/neovim/neovim.git $neovim_dir
|
||||
git -C $neovim_dir fetch --all
|
||||
git -C $neovim_dir checkout $neovim_version
|
||||
[ ! -d $install_neovim_dir ] && git clone https://github.com/neovim/neovim.git $install_neovim_dir
|
||||
git -C $install_neovim_dir fetch --all
|
||||
git -C $install_neovim_dir checkout $install_neovim_version
|
||||
|
||||
make -C $neovim_dir clean
|
||||
make -C $neovim_dir CMAKE_BUILD_TYPE=RelWithDebInfo
|
||||
sudo make -C $neovim_dir install
|
||||
make -C $install_neovim_dir clean
|
||||
make -C $install_neovim_dir CMAKE_BUILD_TYPE=RelWithDebInfo
|
||||
sudo make -C $install_neovim_dir install
|
||||
|
||||
# from primeagen's dev repo, uncomment/edit as needed
|
||||
# git clone https://github.com/ThePrimeagen/harpoon.git $HOME/personal/harpoon
|
||||
|
0
installs_and_builds/personal/placeholder-TODO
Normal file
0
installs_and_builds/personal/placeholder-TODO
Normal file
@@ -1,6 +1,6 @@
|
||||
#!/bin/zsh
|
||||
|
||||
local option_prefix=''
|
||||
[[ "$BOX_SETUP_OS" = "macos" ]] && option_prefix='--cask'
|
||||
install_option_prefix=''
|
||||
[[ "$BOX_SETUP_OS" = "macos" ]] && install_option_prefix='--cask'
|
||||
# NOTE: ghostty not currently in debian repos, maybe build from source
|
||||
${=BOX_SETUP_INSTALL_COMMAND} "$option_prefix" ghostty
|
||||
${=BOX_SETUP_INSTALL_COMMAND} "$install_option_prefix" ghostty
|
||||
|
@@ -1,11 +1,11 @@
|
||||
#!/bin/zsh
|
||||
|
||||
local linux_wm_and_utils() {
|
||||
linux_wm_and_utils() {
|
||||
# TODO: pick wm for linux; options: dwm, i3, others?
|
||||
echo "linux_wm_and_utils not yet implemented"
|
||||
}
|
||||
|
||||
local macos_wm_and_utils() {
|
||||
macos_wm_and_utils() {
|
||||
brew install koekeishiya/formulae/yabai
|
||||
brew install koekeishiya/formulae/skhd
|
||||
skhd --start-service
|
||||
|
@@ -1,8 +1,8 @@
|
||||
#!/bin/zsh
|
||||
|
||||
# TODO: replace firefox with brave or another browser
|
||||
# local option_prefix=''
|
||||
# [[ "$BOX_SETUP_OS" = "macos" ]] && option_prefix='--cask'
|
||||
# local firefox_package_name='firefox'
|
||||
# install_option_prefix=''
|
||||
# [[ "$BOX_SETUP_OS" = "macos" ]] && install_option_prefix='--cask'
|
||||
# firefox_package_name='firefox'
|
||||
# [[ "$BOX_SETUP_OS" = "debian" ]] && firefox_package_name='firefox-esr'
|
||||
# ${=BOX_SETUP_INSTALL_COMMAND} "$option_prefix" "$firefox_package_name"
|
||||
# ${=BOX_SETUP_INSTALL_COMMAND} "$install_option_prefix" "$firefox_package_name"
|
||||
|
@@ -1,6 +1,6 @@
|
||||
#!/bin/zsh
|
||||
|
||||
# only audio editor(s) in this file; daws are handled separately
|
||||
local option_prefix=''
|
||||
[[ "$BOX_SETUP_OS" = "macos" ]] && option_prefix='--cask'
|
||||
${=BOX_SETUP_INSTALL_COMMAND} "$option_prefix" audacity
|
||||
install_option_prefix=''
|
||||
[[ "$BOX_SETUP_OS" = "macos" ]] && install_option_prefix='--cask'
|
||||
${=BOX_SETUP_INSTALL_COMMAND} "$install_option_prefix" audacity
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#!/bin/zsh
|
||||
|
||||
local option_prefix=''
|
||||
[[ "$BOX_SETUP_OS" = "macos" ]] && option_prefix='--cask'
|
||||
${=BOX_SETUP_INSTALL_COMMAND} "$option_prefix" gimp
|
||||
install_option_prefix=''
|
||||
[[ "$BOX_SETUP_OS" = "macos" ]] && install_option_prefix='--cask'
|
||||
${=BOX_SETUP_INSTALL_COMMAND} "$install_option_prefix" gimp
|
||||
|
||||
# ${=BOX_SETUP_INSTALL_COMMAND} imagemagick # TODO: consider this program too
|
||||
|
@@ -2,10 +2,10 @@
|
||||
|
||||
# TODO: review and decide if the things below are needed
|
||||
|
||||
#local lua_package="lua5.1"
|
||||
#[[ "$BOX_SETUP_OS" = "macos" ]] && lua_package="lua@5.1"
|
||||
# install_lua_package="lua5.1"
|
||||
#[[ "$BOX_SETUP_OS" = "macos" ]] && install_lua_package="lua@5.1"
|
||||
|
||||
#${=BOX_SETUP_INSTALL_COMMAND} "$lua_package" liblua5.1-0-dev
|
||||
#${=BOX_SETUP_INSTALL_COMMAND} "$install_lua_package" liblua5.1-0-dev
|
||||
|
||||
# TODO: do i want to install luarocks? lazy.nvim plugin manager currently expects it
|
||||
#luarocks install luacheck
|
||||
|
0
installs_and_builds/studio_music/placeholder-TODO
Normal file
0
installs_and_builds/studio_music/placeholder-TODO
Normal file
Reference in New Issue
Block a user