Only host uses flatpak of NeoVim
This commit is contained in:
parent
46827f6740
commit
32c73963b2
|
@ -16,9 +16,6 @@ if [ "$(tty)" == '/dev/tty1' ] && [ ! "$SSH_TTY" ]; then
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Setup editor
|
|
||||||
export EDITOR="flatpak run io.neovim.nvim"
|
|
||||||
|
|
||||||
# don't put duplicate lines or lines starting with space in the history.
|
# don't put duplicate lines or lines starting with space in the history.
|
||||||
shopt -s histappend
|
shopt -s histappend
|
||||||
HISTCONTROL=ignoreboth
|
HISTCONTROL=ignoreboth
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
# 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,5 +1,8 @@
|
||||||
# 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"
|
||||||
if [ -z "$SSH_AGENT_PID" ]; then
|
if [ -z "$SSH_AGENT_PID" ]; then
|
||||||
if [ -f "$HOME/.spool/ssh-agent.env" ]; then
|
if [ -f "$HOME/.spool/ssh-agent.env" ]; then
|
||||||
|
|
Loading…
Reference in New Issue