45 lines
1002 B
Bash
45 lines
1002 B
Bash
|
# Lines configured by zsh-newuser-install
|
||
|
HISTFILE=~/.histfile
|
||
|
HISTSIZE=1000
|
||
|
SAVEHIST=2000
|
||
|
setopt nomatch
|
||
|
unsetopt autocd beep extendedglob notify
|
||
|
bindkey -e
|
||
|
# End of lines configured by zsh-newuser-install
|
||
|
# The following lines were added by compinstall
|
||
|
zstyle :compinstall filename '/home/h44z/.zshrc'
|
||
|
|
||
|
autoload -Uz compinit
|
||
|
compinit
|
||
|
# End of lines added by compinstall
|
||
|
|
||
|
# some more ls aliases
|
||
|
alias ll='ls -l'
|
||
|
alias lla='ls -la'
|
||
|
alias la='ls -A'
|
||
|
#alias l='ls -CF'
|
||
|
|
||
|
# some other useful aliases
|
||
|
alias dc='docker-compose'
|
||
|
alias ..='cd ..'
|
||
|
alias ...='cd ..; cd ..'
|
||
|
alias ....='cd ..; cd ..; cd ..'
|
||
|
alias open=xdg-open
|
||
|
alias grep='grep --color=always'
|
||
|
alias vi='vim'
|
||
|
|
||
|
# command not found helper
|
||
|
if [[ -f /usr/share/doc/find-the-command/ftc.zsh ]] ; then
|
||
|
source /usr/share/doc/find-the-command/ftc.zsh
|
||
|
fi
|
||
|
|
||
|
# setup oh-my-posh
|
||
|
if [ -x /usr/bin/oh-my-posh ]; then
|
||
|
eval "$(oh-my-posh init zsh --config ~/.ohmyposh/myshell.minimal.omp.json)"
|
||
|
fi
|
||
|
|
||
|
# start archey4
|
||
|
if [ -x /usr/bin/archey ]; then
|
||
|
archey
|
||
|
fi
|