diff --git a/.chezmoiignore b/.chezmoiignore index c80a51f..70a5130 100644 --- a/.chezmoiignore +++ b/.chezmoiignore @@ -10,6 +10,7 @@ gpg/ homebrew/ iterm2/ macos/ +navi/ node/ rust/ scripts/ diff --git a/.chezmoiscripts/linux/run_onchange_before_10_installs.sh.tmpl b/.chezmoiscripts/linux/run_onchange_before_10_installs.sh.tmpl index 907832e..249d4a6 100644 --- a/.chezmoiscripts/linux/run_onchange_before_10_installs.sh.tmpl +++ b/.chezmoiscripts/linux/run_onchange_before_10_installs.sh.tmpl @@ -57,7 +57,7 @@ for package in "${packages[@]}"; do sudo apt install -y $package done -# # install eza: https://github.com/eza-community/eza#debian-and-ubuntu +# install eza: https://github.com/eza-community/eza#debian-and-ubuntu if [ ! -d /etc/apt/keyrings ]; then sudo mkdir -p /etc/apt/keyrings fi @@ -67,9 +67,12 @@ sudo chmod 644 /etc/apt/keyrings/gierens.gpg /etc/apt/sources.list.d/gierens.lis sudo apt update sudo apt install -y eza -# # noninteractive rust install (needed for delta) +### RUST INSTALLS + +# noninteractive rust install (needed for delta) curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y source "$HOME/.cargo/env" + # install delta cargo install git-delta @@ -84,6 +87,9 @@ tar xf lazygit.tar.gz lazygit sudo install lazygit /usr/local/bin sudo rm -rf "$HOME"/lazygit* +# navi +cargo install --locked navi + # Remove packages rm_packages=("nano") diff --git a/.chezmoiscripts/linux/run_onchange_before_20_parrot_installs.sh.tmpl b/.chezmoiscripts/linux/run_onchange_before_20_parrot_installs.sh.tmpl index bd2394c..ecf03cf 100644 --- a/.chezmoiscripts/linux/run_onchange_before_20_parrot_installs.sh.tmpl +++ b/.chezmoiscripts/linux/run_onchange_before_20_parrot_installs.sh.tmpl @@ -12,7 +12,8 @@ git clone https://github.com/lxbrtsch/Menlo-for-Powerline.git ~/.fonts fc-cache -vf ~/.fonts # Install arsenal -python3 -m pip install --no-input arsenal-cli +# NOTE: currently trying navi instead of arsenal +# python3 -m pip install --no-input arsenal-cli # Load default MATE terminal settings dbus-launch dconf load /org/mate/terminal/ < $DOTFILES/terminal/MATE.terminal diff --git a/navi/widget.zsh b/navi/widget.zsh new file mode 100644 index 0000000..95c278f --- /dev/null +++ b/navi/widget.zsh @@ -0,0 +1,5 @@ +if command -v navi >/dev/null 2>&1; then + eval "$(navi widget zsh)" +else + echo "navi is not installed" +fi