summaryrefslogtreecommitdiff
path: root/.profile
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2024-02-01 15:02:10 -0500
committerBenjamin Chausse <benjamin@chausse.xyz>2024-02-01 15:02:10 -0500
commit566a4da12f0831572a898e0a5adc31059c55c4b9 (patch)
treecbbe8e34e74bc5f429564fd91a07e8b49bda9215 /.profile
parent4c5ca39d0b17698f77e9729c91865d4197999aea (diff)
.profile picks the right nvim (distro vs compiled)
Diffstat (limited to '.profile')
-rw-r--r--.profile4
1 files changed, 2 insertions, 2 deletions
diff --git a/.profile b/.profile
index c960b88..b34376e 100644
--- a/.profile
+++ b/.profile
@@ -1,6 +1,6 @@
# Path
export SCRIPTS=$HOME/.local/bin
-export PATH=$PATH$(find $SCRIPTS/ -type d -printf ":%p")
+export PATH=$PATH$(find "$SCRIPTS/" -type d -printf ":%p")
export GOPATH=$HOME/.go
export PATH=$PATH:$GOPATH/bin
export PATH=$PATH:$HOME/.cargo/bin
@@ -25,7 +25,7 @@ export TEXMFHOME=$XDG_DATA_HOME/texmf
export TEXSRC=$HOME/.local/src/sherbrooke-tex
# Applications
-export EDITOR=/usr/bin/nvim
+export EDITOR=$(which nvim)
export READER=/usr/bin/zathura
export TERMINAL=/usr/bin/alacritty
export TERM=/usr/bin/alacritty