diff options
author | Daniil Rozanov <dev@rozanov.info> | 2025-03-06 22:08:17 +0400 |
---|---|---|
committer | Daniil Rozanov <dev@rozanov.info> | 2025-03-06 22:08:17 +0400 |
commit | de67aa7e8c0884810a3399c51b635edc408fac93 (patch) | |
tree | 62ca21543aeee7a070f6beb5fc9025fce13f90f9 /zsh | |
parent | 011d8405259d03fa422ea2f79b55db2b6c533476 (diff) |
Mail management by aerc, notmuch and isync. RSS by newsboat. And minor
Diffstat (limited to 'zsh')
-rw-r--r-- | zsh/.config/zsh/.zprofile | 3 | ||||
-rw-r--r-- | zsh/.config/zsh/.zshrc | 12 |
2 files changed, 11 insertions, 4 deletions
diff --git a/zsh/.config/zsh/.zprofile b/zsh/.config/zsh/.zprofile index 08f137f..38df93c 100644 --- a/zsh/.config/zsh/.zprofile +++ b/zsh/.config/zsh/.zprofile @@ -1,3 +1,6 @@ +# +export SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt + # User defaults export EDITOR="nvim" export PAGER="less" diff --git a/zsh/.config/zsh/.zshrc b/zsh/.config/zsh/.zshrc index 499f753..4b256ce 100644 --- a/zsh/.config/zsh/.zshrc +++ b/zsh/.config/zsh/.zshrc @@ -61,7 +61,6 @@ zstyle ':completion:*' list-colors "${(s.:.)LS_COLORS}" zstyle ':completion:*' menu no zstyle ':completion:*' use-cache on zstyle ':completion:*' cache-path "$XDG_CACHE_HOME/zsh/.zcompcache" -zstyle ':fzf-tab:*' fzf-command ftb-tmux-popup zstyle ':fzf-tab:*' use-fzf-default-opts yes zstyle ':fzf-tab:complete:*' fzf-bindings \ 'ctrl-y:accept' \ @@ -110,7 +109,6 @@ bindkey '^e' edit-command-line # Aliases alias v=nvim -alias vf='nvim $(fzf --preview="bat --color=always {}")' alias ls="ls --color" alias la="ls -la" alias c='clear; tmux clear-history' @@ -124,12 +122,18 @@ function fkill () { } ## Unnecessary after pass -c will work function cpass () { - pass $1 | tr -d "[:space:]" | wl-copy --type text/plain + pass $1 | head -n 1 | tr -d "[:space:]" | wl-copy --type text/plain } alias guile='rlwrap guile' -alias md='mkdir' +alias md='mkdir -p' alias rmd='rmdir' alias gs='git status' +alias ga='git add' +alias gc='git commit --verbose' +alias gpa='git remote | xargs -L1 -I R git push R' +alias gl='git log' +alias gsh='git show' +alias gsw='git switch' # Shell integrations |