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."