From 13bd2073ef50c927b487451171ff5cd97e697705 Mon Sep 17 00:00:00 2001 From: Sergii Tykhomyrov Date: Thu, 28 Nov 2024 07:09:52 +0100 Subject: Add more configs and Makefile --- zsh/dot-zshrc | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 zsh/dot-zshrc (limited to 'zsh/dot-zshrc') diff --git a/zsh/dot-zshrc b/zsh/dot-zshrc new file mode 100644 index 0000000..b830828 --- /dev/null +++ b/zsh/dot-zshrc @@ -0,0 +1,29 @@ +PS1="%% " +RPS1="[%F{blue}%B%~%b%f]" + +HISTFILE="$HOME/.zsh_history" +HISTSIZE=10000 +SAVEHIST=10000 + +setopt hist_ignore_all_dups +setopt hist_find_no_dups +setopt transientrprompt +setopt nomatch + +bindkey -e + +case $TERM in + xterm*) + precmd () {print -Pn "\e]0;%n@%m: %~\a"} + ;; +esac + +alias ls="ls --color" + +export EDITOR="nvim" +export PAGER="less" + +export GPG_TTY=$(tty) +export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket) +gpgconf --launch gpg-agent +echo UPDATESTARTUPTTY | gpg-connect-agent > /dev/null -- cgit v1.2.3