From 48e3f32497d16a3c39596194a1928679eb9a6ad0 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 19 May 2017 14:42:56 +0200 Subject: zsh: Remove $HOME/bin from path --- zsh/.config/zsh/.zshenv | 5 ----- 1 file changed, 5 deletions(-) (limited to 'zsh/.config') diff --git a/zsh/.config/zsh/.zshenv b/zsh/.config/zsh/.zshenv index 87276bd0..51323f10 100644 --- a/zsh/.config/zsh/.zshenv +++ b/zsh/.config/zsh/.zshenv @@ -53,11 +53,6 @@ then ;; esac - if [[ ${path[(I)$HOME/bin ]} ]] - then - path+=($HOME/bin) - fi - if [[ ${path[(I)$HOME/.local/bin ]} ]] then path+=($HOME/.local/bin) -- cgit 1.4.1 From 8cb99ca85533e3252289e0ccb5ebe1dc8c98fa15 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sun, 21 May 2017 11:08:17 +0200 Subject: zsh: Set umask manually on Windows/WSL Previously, I ran the WSL environment as root, calling `login` to ensure all the right login stuff happens (mostly the setting of umask). Unfortunately, this complicated running commands from outside the environment and was a bit slower. --- zsh/.config/zsh/.zshenv | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'zsh/.config') diff --git a/zsh/.config/zsh/.zshenv b/zsh/.config/zsh/.zshenv index 114e5ce9..d1ea38e4 100644 --- a/zsh/.config/zsh/.zshenv +++ b/zsh/.config/zsh/.zshenv @@ -42,7 +42,8 @@ then read osrelease < /proc/sys/kernel/osrelease if [[ $osrelease =~ Microsoft$ ]] then - windows=1 + export windows=1 + umask 002 fi fi -- cgit 1.4.1