From 5c26df06419ccffc860cd7cd45e275a00cfc20d8 Mon Sep 17 00:00:00 2001 From: Alexander Date: Tue, 2 Jul 2024 19:27:40 +0300 Subject: Добавил kitty MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- zsh/zshrc | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'zsh/zshrc') diff --git a/zsh/zshrc b/zsh/zshrc index 1b93945..5cb8c9f 100644 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -6,8 +6,11 @@ if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]] fi # Exports -export PATH=$HOME/.local/bin:/usr/local/bin:$HOME/go/bin:$PATH -export EDITOR="nvim" +export PATH=$HOME/.local/bin:/usr/local/bin:$HOME/go/bin:$HOME/.emacs.d/bin:$PATH +export EDITOR="micro" + +#export SSH_AUTH_SOCK=$HOME/.ssh/ssh-agent.socket +#ssh-add -l >/dev/null || alias ssh='ssh-add -l >/dev/null || SSH_AUTH_SOCK=$HOME/.ssh/ssh-agent.socket ssh-add -s /usr/lib/x86_64-linux-gnu/libykcs11.so && unalias ssh; ssh' source ~/.config/zsh/antigen.zsh @@ -23,8 +26,10 @@ alias ls="ls -F" alias l="ls" alias ll="ls -AFhl" alias cp="cp -i" # Confirm before overwriting something -alias gitu='git add . && git commit && git push' +alias gitpush='git add . && git commit --amend --no-edit && git push -f' alias k='kubectl' +alias yu="ssh-add -e /usr/lib/x86_64-linux-gnu/libykcs11.so; ssh-add -s /usr/lib/x86_64-linux-gnu/libykcs11.so" +alias m='micro' [[ ! -f `which exa` ]] || alias ls="exa" && alias ll="exa -l" @@ -117,4 +122,3 @@ bindkey '^ ' autosuggest-accept source ~/.config/zsh/p10k.zsh source ~/.config/zsh/p10k/powerlevel10k.zsh-theme - -- cgit v1.2.3