From 2646902a2622037fc192da382460094662ce000a Mon Sep 17 00:00:00 2001 From: John Mertz Date: Thu, 20 Jul 2023 15:54:00 -0400 Subject: [PATCH] nvim distrobox -> nix --- bash/bashrc | 3 +++ bash/bashrc.distrobox | 3 --- bash/bashrc.host | 3 --- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/bash/bashrc b/bash/bashrc index bfddaa45e..834fbdf5b 100644 --- a/bash/bashrc +++ b/bash/bashrc @@ -1,5 +1,8 @@ # vim: ft=sh +# Setup editor +export EDITOR="${HOME}/.dotfiles/nix/bin/nvim" + # If not running interactively, don't do anything case $- in *i*) ;; diff --git a/bash/bashrc.distrobox b/bash/bashrc.distrobox index d094c178a..2ae2754ff 100644 --- a/bash/bashrc.distrobox +++ b/bash/bashrc.distrobox @@ -1,8 +1,5 @@ # vim: ft=sh -# Setup editor -export EDITOR="nvim" - export DISTROBOX=$(grep -oP "(?<=name=\")[^\";]+" /run/.containerenv) export SSH_AUTH_SOCK="$HOME/.spool/ssh-agent.sock" HISTFILE="${HISTFILE}.$DISTROBOX" diff --git a/bash/bashrc.host b/bash/bashrc.host index c5a623978..1ab8ff8e6 100644 --- a/bash/bashrc.host +++ b/bash/bashrc.host @@ -1,8 +1,5 @@ # vim: ft=sh -# Setup editor -export EDITOR="flatpak run io.neovim.nvim" - export SSH_AUTH_SOCK="$HOME/.spool/ssh-agent.sock" echo "This is the host OS. You probably want to open a Distrobox."