aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustine Smithies <justine@smithies.me.uk>2024-05-10 19:51:55 +0100
committerJustine Smithies <justine@smithies.me.uk>2024-05-10 19:51:55 +0100
commit597150b8722e3a93f67bcf85c2db8270dd20aad1 (patch)
tree268b1a52212d2fa974dcd979c3c34187581a0595
parent941de8298448e0979b2822a79bd96b454fbdbd2b (diff)
Updated to use Helix as the default editor instead of Neovim
-rw-r--r--.bashrc11
1 files changed, 9 insertions, 2 deletions
diff --git a/.bashrc b/.bashrc
index 5903792..5b9e51c 100644
--- a/.bashrc
+++ b/.bashrc
@@ -62,8 +62,8 @@ if [[ $TERM = "foot" ]]; then
alias ssh='TERM=linux ssh'
fi
-export EDITOR="nvim"
-export VISUAL="nvim"
+export EDITOR="hx"
+export VISUAL="hx"
export MANPATH=$HOME/.local/share/man/:$MANPATH
export PATH=$PATH:~/.local/bin
export STARSHIP_CONFIG=~/.config/starship/config.toml
@@ -85,6 +85,13 @@ export SAL_USE_VCLPLUGIN=gtk3
# Path to Zig binary
export PATH=$PATH:~/Downloads/zig/zig-linux-x86_64-0.11.0/
+# Path to Helix binary
+export PATH=$PATH:~/.cargo/bin/
+# I cloned Helix master in ~/Git and setup a link to the runtime instead of
+# using export as below.
+# export HELIX_RUNTIME=~/Git/helix/runtime
+# This is the command I ran after building: ln -s ~/Git/helix/runtime ~/.config/helix/runtime
+
# Enable the use of ssh-agent
if ! pgrep -u "$USER" ssh-agent > /dev/null; then
ssh-agent -t 1h > "$XDG_RUNTIME_DIR/ssh-agent.env"