From 6aa4580a5a5464e5a214f93f2737dcf0cded8847 Mon Sep 17 00:00:00 2001 From: DustVoice Date: Tue, 5 Jan 2021 18:20:44 +0100 Subject: [PATCH] Let dmenu utilize PATH changes --- .config/dmenu/dmenu_run_with_aliases | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.config/dmenu/dmenu_run_with_aliases b/.config/dmenu/dmenu_run_with_aliases index 5eb6ca0..ba00fa7 100755 --- a/.config/dmenu/dmenu_run_with_aliases +++ b/.config/dmenu/dmenu_run_with_aliases @@ -1,7 +1,7 @@ #!/usr/bin/env zsh -if [[ -f $HOME/.zsh_alias ]]; then - source $HOME/.zsh_alias +if [[ -f $HOME/.zshenv ]]; then + source $HOME/.zshenv fi command_to_run=$({ alias | awk '{split($0,alias,"="); print alias[1];}' ; dmenu_path ; } | sort | dmenu -i -fn $(get-font) -nb "#282a36" -nf "#f8f8f2" -sb "#44475a" -sf "#f8f8f2" "$@")