diff options
Diffstat (limited to '')
-rw-r--r-- | .zsh/zshrc | 2 | ||||
-rw-r--r-- | .zshenv | 5 |
2 files changed, 6 insertions, 1 deletions
@@ -54,7 +54,7 @@ alias FF='noglob firefox' alias bt="bsdtar" # suffixes -alias -s exe='wine' +[[ -n $_IS_WINDOWS ]] || alias -s exe='wine' alias -s pdf='xdg-open' alias -s JPG='feh -F' alias -s jpg='feh -F' @@ -16,6 +16,11 @@ path=( # other variables _kw="~amd64" +if [[ $(</proc/sys/kernel/osrelease) =~ 'Microsoft$' ]]; then + _IS_WINDOWS=1 + umask 022 +fi + # exports export PASSWORD_STORE_CLIP_TIME=20 export ECHANGELOG_USER="René Neumann (Necoro) <gentoo@necoro.eu>" |