diff options
author | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2021-08-04 10:51:14 +0200 |
---|---|---|
committer | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2021-08-04 10:51:14 +0200 |
commit | f867778a5213a9d3c91f15199fb0227d9000d2ea (patch) | |
tree | da40621a896659a3bf271b480ad7d10b5e2dbab1 | |
parent | 6d33a1d2f3c2d10dd906261f657fd576f8d61711 (diff) | |
download | zsh-f867778a5213a9d3c91f15199fb0227d9000d2ea.tar.gz zsh-f867778a5213a9d3c91f15199fb0227d9000d2ea.tar.bz2 zsh-f867778a5213a9d3c91f15199fb0227d9000d2ea.zip |
New local zshrc.
-rw-r--r-- | zshrc.local | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/zshrc.local b/zshrc.local index f1de0ca..7848797 100644 --- a/zshrc.local +++ b/zshrc.local @@ -1,17 +1,17 @@ - bindkey -v export BROWSER=firefox export EDITOR=vim export XKB_DEFAULT_VARIANT=dvorak -export GTK_THEME=Arc-Dark -export GPG_TTY=$(tty) -gpg-connect-agent updatestartuptty /bye >/dev/null +export MOZ_ENABLE_WAYLAND=1 +export PAN_MESA_DEBUG=gl3 -if [ -z "$SSH_AUTH_SOCK" ]; then - SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)" - export SSH_AUTH_SOCK +if ! pgrep -u "$USER" ssh-agent > /dev/null; then + ssh-agent -t 1h > "$XDG_RUNTIME_DIR/ssh-agent.env" +fi +if [[ ! "$SSH_AUTH_SOCK" ]]; then + source "$XDG_RUNTIME_DIR/ssh-agent.env" >/dev/null fi export CC=clang @@ -35,7 +35,6 @@ sudo() { physexec() { sudo -E ip netns exec physical sudo -E -u \#$(id -u) -g \#$(id -g) "$@"; } -export GTK_IM_MODULE="xim" export MPD_HOST=/run/mpd/mpd.socket # Enable and load bashcompinit @@ -84,3 +83,5 @@ export LESS_TERMCAP_se=$'\E[0m' # reset reverse video export LESS_TERMCAP_us=$'\E[1;32m' # begin underline export LESS_TERMCAP_ue=$'\E[0m' # reset underline # and so on + +unfunction trans |