From 41392b5e11b94f5ad2bad19f6796484d1f03575d Mon Sep 17 00:00:00 2001 From: Dan Suster Date: Sat, 9 Jul 2022 17:33:20 +0200 Subject: [PATCH] update config files --- gitconfig | 2 +- install.conf.yaml | 15 +++++++++------ kitty.conf | 4 +++- zshrc | 16 +++++++++------- 4 files changed, 22 insertions(+), 15 deletions(-) diff --git a/gitconfig b/gitconfig index 5afa54c..9ebabe0 100644 --- a/gitconfig +++ b/gitconfig @@ -1,7 +1,7 @@ [user] name = Dan Suster email = dan@thegolem.cz - signingkey = 8950CA05C8CEEB38 + signingkey = dan@thegolem.cz [commit] gpgsign = true [core] diff --git a/install.conf.yaml b/install.conf.yaml index eb3d338..4466399 100644 --- a/install.conf.yaml +++ b/install.conf.yaml @@ -2,6 +2,13 @@ link: relink: true +- create: + ~/.ssh: + mode: 0700 + ~/.config/nvim: + ~/.config/kitty: + ~/.thunderbird: + - link: ~/.gitconfig: path: gitconfig @@ -18,13 +25,9 @@ force: true path: kitty.conf -- create: - - ~/.ssh: - mode: 0700 - - ~/.config/nvim - - ~/.thunderbird - shell: - [git submodule update --init --recursive, Installing submodules] - [sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)", Installing OhMyZSH] - - [git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k, Installing powerlevel10k theme] + - git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom/themes/powerlevel10k} + - git clone https://github.com/sunlei/zsh-ssh ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-ssh diff --git a/kitty.conf b/kitty.conf index 40b2a7f..e4ef63a 100644 --- a/kitty.conf +++ b/kitty.conf @@ -1179,7 +1179,9 @@ term xterm-kitty #: map ctrl+alt+a send_text normal Word\x1b[H #: map ctrl+alt+a send_text application Word\x1bOH - +map ctrl+f launch --type=overlay --stdin-source=@screen_scrollback /usr/bin/fzf --no-sort --no-mouse --exact -i #: }}} # }}} + +include ./nord.conf diff --git a/zshrc b/zshrc index 5a443e1..47b04bd 100644 --- a/zshrc +++ b/zshrc @@ -8,9 +8,11 @@ fi # If you come from bash you might have to change your $PATH. # export PATH=$HOME/bin:/usr/local/bin:$PATH +export XDG_CONFIG_HOME="$HOME/.config" # Path to your oh-my-zsh installation. -export ZSH="~/.oh-my-zsh" +export ZSH="$HOME/.oh-my-zsh" export PATH="~/.local/bin:$PATH" +export GPG_TTY=$(tty) # Set name of the theme to load --- if set to "random", it will # load a random theme each time oh-my-zsh is loaded, in which case, # to know which specific one was loaded, run: echo $RANDOM_THEME @@ -75,12 +77,12 @@ ZSH_THEME="powerlevel10k/powerlevel10k" # Custom plugins may be added to $ZSH_CUSTOM/plugins/ # Example format: plugins=(rails git textmate ruby lighthouse) # Add wisely, as too many plugins slow down shell startup. -plugins=(git -colorize -archlinux -docker -docker-compose -pip +plugins=(git +colorize +archlinux +docker +docker-compose +pip themes zsh-ssh history-substring-search