Compare commits

...

3 Commits

Author SHA1 Message Date
Mad Scientist
18c9fa6aa2 Merge branch 'zsh-config' into 'master'
Fix duplicate entries in $PATH

See merge request dwt1/dotfiles!87
2026-04-02 04:44:19 +05:00
Derek Taylor
6d7c35a9ec Minor changes to dms settings 2026-03-27 05:57:31 -05:00
Mad Scientist
9e1c0fa206 Fix duplicate entries in $PATH 2023-10-28 10:19:05 +00:00
2 changed files with 9 additions and 7 deletions

View File

@@ -410,7 +410,8 @@
"centerWidgets": [
{
"id": "music",
"enabled": true
"enabled": true,
"mediaSize": 0
},
{
"id": "clock",

13
.zshrc
View File

@@ -31,28 +31,29 @@ bindkey -v
[[ $- != *i* ]] && return
### PATH
typeset -U path PATH
if [ -d "$HOME/.bin" ] ;
then PATH="$HOME/.bin:$PATH"
then path=($HOME/.bin $path)
fi
if [ -d "$HOME/.local/bin" ] ;
then PATH="$HOME/.local/bin:$PATH"
then path=($HOME/.local/bin $path)
fi
if [ -d "$HOME/.emacs.d/bin" ] ;
then PATH="$HOME/.emacs.d/bin:$PATH"
then path=($HOME/.emacs.d/bin $path)
fi
if [ -d "$HOME/Applications" ] ;
then PATH="$HOME/Applications:$PATH"
then path=($HOME/Applications $path)
fi
if [ -d "/var/lib/flatpak/exports/bin/" ] ;
then PATH="/var/lib/flatpak/exports/bin/:$PATH"
then path=(/var/lib/flatpak/exports/bin $path)
fi
if [ -d "$HOME/.config/emacs/bin/" ] ;
then PATH="$HOME/.config/emacs/bin/:$PATH"
then path=($HOME/.config/emacs/bin $path)
fi
### SETTING OTHER ENVIRONMENT VARIABLES