diff options
author | Benjamin Chausse <benjamin@chausse.xyz> | 2024-02-01 15:02:10 -0500 |
---|---|---|
committer | Benjamin Chausse <benjamin@chausse.xyz> | 2024-02-01 15:02:10 -0500 |
commit | 566a4da12f0831572a898e0a5adc31059c55c4b9 (patch) | |
tree | cbbe8e34e74bc5f429564fd91a07e8b49bda9215 | |
parent | 4c5ca39d0b17698f77e9729c91865d4197999aea (diff) |
.profile picks the right nvim (distro vs compiled)
-rwxr-xr-x | .local/bin/dwmbar/dwmb-dotfiles | 9 | ||||
-rw-r--r-- | .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 " " @@ -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 |