diff options
| author | Mitchell Riedstra <mitch@riedstra.dev> | 2024-01-23 00:08:07 -0500 |
|---|---|---|
| committer | Mitchell Riedstra <mitch@riedstra.dev> | 2024-01-23 00:08:07 -0500 |
| commit | 3026f94bccb9b2c8cd538b4070ae1e390b96ea87 (patch) | |
| tree | 7b9401235d85fdbc2bf6e47f0b57a89dfd92b2d1 | |
| parent | 2f832fb99ce5b08e2b540fb2f93a2f92344f6a91 (diff) | |
| download | dotfiles-3026f94bccb9b2c8cd538b4070ae1e390b96ea87.tar.gz dotfiles-3026f94bccb9b2c8cd538b4070ae1e390b96ea87.tar.xz | |
Add .local/bin to PATH. Ubuntu script
| -rwxr-xr-x | distro/ubuntu.sh | 29 | ||||
| -rw-r--r-- | kshrc | 2 |
2 files changed, 31 insertions, 0 deletions
diff --git a/distro/ubuntu.sh b/distro/ubuntu.sh new file mode 100755 index 0000000..b8cd3ea --- /dev/null +++ b/distro/ubuntu.sh @@ -0,0 +1,29 @@ +#!/bin/sh +set -ex +nvimdir="$HOME/scm/pub/neovim-nvim" + +sudo apt install -y \ + scdaemon \ + git \ + curl \ + neofetch \ + tmux \ + htop \ + vim \ + neovim \ + oathtool \ + dconf-editor \ + npm \ + pavucontrol \ + lua-nvim + +sudo apt build-dep -y neovim + +if ! [ -d "$nvimdir" ] ; then + git clone https://github.com/neovim/neovim "$nvimdir" +fi +cd "$nvimdir" +rm -rf build || echo "" +make CMAKE_EXTRA_FLAGS="-DCMAKE_INSTALL_PREFIX=$HOME/.local" -j"$(nproc)" +make install +cd - @@ -535,5 +535,7 @@ if [ $COLOR -eq 1 ] ; then setlscolors fi +[ -d "$HOME/.local/bin" ] && path_preappend "$HOME/.local/bin" + # Include local configuration options [ -r "$LOCAL" ] && . "$LOCAL" |
