ZSH: More tooling the better
This commit is contained in:
parent
d5d30154bb
commit
3ddd2d5302
11
zsh/.zshrc
11
zsh/.zshrc
@ -140,7 +140,7 @@ export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
|
||||
gpgconf --launch gpg-agent
|
||||
|
||||
# Editor
|
||||
export EDITOR=vim
|
||||
export EDITOR=nvim
|
||||
|
||||
export PATH="$HOME/.jenv/bin:$PATH"
|
||||
eval "$(jenv init -)"
|
||||
@ -149,11 +149,11 @@ eval "$(direnv hook zsh)"
|
||||
|
||||
export PATH="$PATH:$HOME/.local/bin"
|
||||
export PATH="$HOME/.bin:$PATH"
|
||||
export PATH="${PATH}:${HOME}/.krew/bin"
|
||||
export TERM=xterm-256color
|
||||
alias light="mqtt pub -t cmnd/Workbench/POWER -m "
|
||||
alias ac="mqtt pub -t tele/Comfee/cmnd/POWER -m "
|
||||
|
||||
# autoload -Uz compinit; compinit
|
||||
source /usr/share/fzf-tab-completion/zsh/fzf-zsh-completion.sh
|
||||
bindkey '^I' fzf_completion
|
||||
source =(thefuck -a)
|
||||
@ -173,6 +173,7 @@ alias gc="git commit"
|
||||
alias gcf="git commit --fixup=@"
|
||||
alias ga="git add"
|
||||
alias gp="git push"
|
||||
alias gpa="git push -o ci.variable=\"AUTO_APPLY=true\""
|
||||
|
||||
alias e="$EDITOR"
|
||||
alias o='handlr open'
|
||||
@ -180,7 +181,7 @@ alias vs="nvim -S Session.vim"
|
||||
|
||||
# Yes I know this is a bad idea
|
||||
# also I don't care.
|
||||
alias hugo='docker run -v "$PWD:/src" -w "/src" -u $UID:$GID -p 1313:1313 --rm klakegg/hugo:alpine'
|
||||
alias hugo='docker run -v "$PWD:/src" -w "/src" -u $UID:$GID -p 1313:1313 --rm klakegg/hugo:ext-alpine'
|
||||
|
||||
# Simple calculator
|
||||
function calc() {
|
||||
@ -199,3 +200,7 @@ function calc() {
|
||||
fi
|
||||
printf "\n"
|
||||
}
|
||||
|
||||
autoload compinit; compinit
|
||||
autoload -U +X bashcompinit && bashcompinit
|
||||
complete -o nospace -C /usr/bin/mcli mcli
|
||||
|
Loading…
Reference in New Issue
Block a user