cert-manager-webhook-sthome/config/zsh.sh

37 lines
795 B
Bash

HISTFILE=~/.zsh-histfile
SAVEHIST=1000
setopt APPEND_HISTORY
PROMPT="%n@%m[%40<...<%~%<<]%(!.#.$) "
bindkey "^[[A" up-line-or-search
bindkey "^[[F" end-of-line
bindkey "^[[H" beginning-of-line
bindkey "^[[3~" delete-char
# Enable the builtin emacs(1) command line editor in sh(1),
# e.g. C-a -> beginning-of-line.
set -o emacs
# Uncomment this and comment the above to enable the builtin vi(1) command
# line editor in sh(1), e.g. ESC to go into visual mode.
# set -o vi
# some useful aliases
alias h='fc -l'
alias j=jobs
alias m=$PAGER
alias ll='ls -laFo'
alias l='ls -l'
alias g='egrep -i'
alias dnsupd=/acme/updatedns.sh
alias acmesh=/acme/acmeauth.sh
# # be paranoid
# alias cp='cp -ip'
# alias mv='mv -i'
# alias rm='rm -i'
export PATH=/root/bin:$PATH:/acme
#export WEBROOT=/webroot