diff options
| author | Sergii Tykhomyrov <sergii@tykhomyrov.net> | 2024-11-28 07:09:52 +0100 |
|---|---|---|
| committer | Sergii Tykhomyrov <sergii@tykhomyrov.net> | 2024-11-28 07:09:52 +0100 |
| commit | 13bd2073ef50c927b487451171ff5cd97e697705 (patch) | |
| tree | c1edf9fd71d23a64c45b728b24768a3a03a66eed /zsh | |
| parent | 31c56297f6c284298c867329b941b0630da6c95c (diff) | |
| download | dotfiles-13bd2073ef50c927b487451171ff5cd97e697705.tar.gz dotfiles-13bd2073ef50c927b487451171ff5cd97e697705.zip | |
Add more configs and Makefile
Diffstat (limited to 'zsh')
| -rw-r--r-- | zsh/dot-zshrc | 29 |
1 files changed, 29 insertions, 0 deletions
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 |
