diff options
author | René 'Necoro' Neumann <necoro@necoro.net> | 2017-11-18 23:09:09 +0100 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.net> | 2017-11-18 23:09:09 +0100 |
commit | 98521abd2f038e06d732226f4eb788be607eb862 (patch) | |
tree | 667c9edba19d4a0b70c20788bfe03883b27728bc /.zsh | |
parent | 336b1bedcb52a0a8e129aa4be8e8a20419fbacc6 (diff) | |
download | dotfiles-98521abd2f038e06d732226f4eb788be607eb862.tar.gz dotfiles-98521abd2f038e06d732226f4eb788be607eb862.tar.bz2 dotfiles-98521abd2f038e06d732226f4eb788be607eb862.zip |
Some windows setup
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>" |