From 566a4da12f0831572a898e0a5adc31059c55c4b9 Mon Sep 17 00:00:00 2001 From: Benjamin Chausse Date: Thu, 1 Feb 2024 15:02:10 -0500 Subject: .profile picks the right nvim (distro vs compiled) --- .local/bin/dwmbar/dwmb-dotfiles | 9 +-------- .profile | 4 ++-- 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/.local/bin/dwmbar/dwmb-dotfiles b/.local/bin/dwmbar/dwmb-dotfiles index 5d064c1..8485120 100755 --- a/.local/bin/dwmbar/dwmb-dotfiles +++ b/.local/bin/dwmbar/dwmb-dotfiles @@ -22,11 +22,4 @@ status=$(yadm status --porcelain 2>/dev/null) [ -z "$status" ] && exit 0 -case "$status" in -*M*) icon=" " ;; -*A*) icon=" " ;; -*U*) icon=" " ;; -*D*) icon=" " ;; -esac - -printf "  %s " "$icon" +printf "  " 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 -- cgit v1.2.3