From 32f899dc44a11f39288799482ace3aaaf6e57e5c Mon Sep 17 00:00:00 2001 From: polymachine Date: Fri, 23 Feb 2024 15:59:05 +0100 Subject: [PATCH] add zoxide --- dot_config/qtile/config.py.tmpl | 4 ++-- dot_zshrc.tmpl | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/dot_config/qtile/config.py.tmpl b/dot_config/qtile/config.py.tmpl index 1b95b7ea..bb52abb1 100644 --- a/dot_config/qtile/config.py.tmpl +++ b/dot_config/qtile/config.py.tmpl @@ -86,8 +86,8 @@ keys = [ Key([mod], "f", lazy.window.toggle_fullscreen(), desc='toggle fullscreen'), # ## Stack controls - # Key([mod, "shift"], "Tab", lazy.layout.rotate(), lazy.layout.flip(), - # desc='Switch which side main pane occupies (XmonadTall)'), + Key([mod, "shift"], "Tab", lazy.layout.rotate(), lazy.layout.flip(), + desc='Switch which side main pane occupies (XmonadTall)'), # Key([mod], "space", lazy.layout.next(), desc='Switch window focus to other pane(s) of stack'), # Key([mod, "shift"], "space", lazy.layout.toggle_split(), # desc='Toggle between split and unsplit sides of stack'), diff --git a/dot_zshrc.tmpl b/dot_zshrc.tmpl index 4d7ca07d..6feafddd 100644 --- a/dot_zshrc.tmpl +++ b/dot_zshrc.tmpl @@ -133,6 +133,8 @@ tere() { local result=$(command tere "$@") [ -n "$result" ] && cd -- "$result" } + +eval "$(zoxide init --cmd cd zsh)" {{ else if eq .chezmoi.hostname "t450s" }} export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.socket" {{ end }}