Add MacOS specific config
This commit is contained in:
@ -10,6 +10,7 @@ set -x LANG de_DE.UTF-8
|
||||
set -x XKB_DEFAULT_LAYOUT eu,de
|
||||
#set -x SUDO_ASKPASS "$HOME/.bin/sway/dmenupass"
|
||||
set -x PASSWORD_STORE_DIR "$HOME/.passwords"
|
||||
set -x HOMEBREW_CASK_OPTS "--no-quarantine --require-sha"
|
||||
|
||||
# Path: ~/.bin for user scripts
|
||||
[ -L ~/.bin ] && set -gx PATH ~/.bin ~/.local/bin $PATH
|
||||
@ -45,12 +46,16 @@ set -x XDG_DATA_DIRS "/usr/local/share:/usr/share"
|
||||
set -x XDG_CONFIG_DIRS "/etc/xdg"
|
||||
|
||||
# GPG and SSH agent
|
||||
set -e SSH_AUTH_SOCK
|
||||
set -U -x SSH_AUTH_SOCK (gpgconf --list-dirs agent-ssh-socket)
|
||||
set -x GPG_TTY (tty)
|
||||
gpgconf --launch gpg-agent
|
||||
if [ (uname) = "Linux" ]
|
||||
set -e SSH_AUTH_SOCK
|
||||
set -U -x SSH_AUTH_SOCK (gpgconf --list-dirs agent-ssh-socket)
|
||||
set -x GPG_TTY (tty)
|
||||
gpgconf --launch gpg-agent
|
||||
end
|
||||
|
||||
# Clean home directory
|
||||
set -x ATOM_HOME "$XDG_DATA_HOME/atom"
|
||||
set -x ATOM_HOME "$XDG_DATA_HOME/atom"
|
||||
set -x RUSTUP_HOME "$XDG_CONFIG_HOME/rustup"
|
||||
set -x CARGO_HOME "$XDG_CONFIG_HOME/cargo"
|
||||
|
||||
# EOF
|
||||
|
Reference in New Issue
Block a user