nvim distrobox -> nix
This commit is contained in:
parent
914a95d622
commit
2646902a26
|
@ -1,5 +1,8 @@
|
||||||
# vim: ft=sh
|
# vim: ft=sh
|
||||||
|
|
||||||
|
# Setup editor
|
||||||
|
export EDITOR="${HOME}/.dotfiles/nix/bin/nvim"
|
||||||
|
|
||||||
# If not running interactively, don't do anything
|
# If not running interactively, don't do anything
|
||||||
case $- in
|
case $- in
|
||||||
*i*) ;;
|
*i*) ;;
|
||||||
|
|
|
@ -1,8 +1,5 @@
|
||||||
# vim: ft=sh
|
# vim: ft=sh
|
||||||
|
|
||||||
# Setup editor
|
|
||||||
export EDITOR="nvim"
|
|
||||||
|
|
||||||
export DISTROBOX=$(grep -oP "(?<=name=\")[^\";]+" /run/.containerenv)
|
export DISTROBOX=$(grep -oP "(?<=name=\")[^\";]+" /run/.containerenv)
|
||||||
export SSH_AUTH_SOCK="$HOME/.spool/ssh-agent.sock"
|
export SSH_AUTH_SOCK="$HOME/.spool/ssh-agent.sock"
|
||||||
HISTFILE="${HISTFILE}.$DISTROBOX"
|
HISTFILE="${HISTFILE}.$DISTROBOX"
|
||||||
|
|
|
@ -1,8 +1,5 @@
|
||||||
# vim: ft=sh
|
# vim: ft=sh
|
||||||
|
|
||||||
# Setup editor
|
|
||||||
export EDITOR="flatpak run io.neovim.nvim"
|
|
||||||
|
|
||||||
export SSH_AUTH_SOCK="$HOME/.spool/ssh-agent.sock"
|
export SSH_AUTH_SOCK="$HOME/.spool/ssh-agent.sock"
|
||||||
|
|
||||||
echo "This is the host OS. You probably want to open a Distrobox."
|
echo "This is the host OS. You probably want to open a Distrobox."
|
||||||
|
|
Loading…
Reference in New Issue