Zsh: More aliases, lightmode...
This commit is contained in:
parent
7082fc1e4f
commit
82403e402f
16
zsh/.zshrc
16
zsh/.zshrc
@ -123,6 +123,8 @@ bindkey '^N' history-substring-search-down
|
||||
bindkey -M vicmd 'k' history-substring-search-up
|
||||
bindkey -M vicmd 'j' history-substring-search-down
|
||||
# }}} End configuration added by Zim install
|
||||
autoload compinit; compinit
|
||||
autoload -U +X bashcompinit && bashcompinit
|
||||
|
||||
export FZF_DEFAULT_COMMAND='fd --type f'
|
||||
source /usr/share/fzf/completion.zsh
|
||||
@ -147,10 +149,16 @@ eval "$(jenv init -)"
|
||||
|
||||
eval "$(direnv hook zsh)"
|
||||
|
||||
if [[ -n "${LIGHTMODE}" ]]; then
|
||||
export BAT_THEME="Solarized (light)"
|
||||
fi
|
||||
|
||||
|
||||
export PATH="$PATH:$HOME/.local/bin"
|
||||
export PATH="$HOME/.bin:$PATH"
|
||||
export PATH="${PATH}:${HOME}/.krew/bin"
|
||||
export TERM=xterm-256color
|
||||
export GROFF_NO_SGR=1 # man page colors in less
|
||||
alias light="mqtt pub -t cmnd/Workbench/POWER -m "
|
||||
alias ac="mqtt pub -t tele/Comfee/cmnd/POWER -m "
|
||||
|
||||
@ -179,6 +187,10 @@ alias e="$EDITOR"
|
||||
alias o='handlr open'
|
||||
alias vs="nvim -S Session.vim"
|
||||
|
||||
alias cat='bat -p'
|
||||
|
||||
alias svcmail='echo "svc-$(openssl rand -hex 5)@rad4day.de"'
|
||||
|
||||
# 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:ext-alpine'
|
||||
@ -200,7 +212,3 @@ 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