You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
58 lines
1.8 KiB
58 lines
1.8 KiB
# Lines configured by zsh-newuser-install
|
|
HISTFILE=~/.histfile
|
|
HISTSIZE=5000
|
|
SAVEHIST=5000
|
|
setopt autocd extendedglob
|
|
unsetopt beep
|
|
bindkey -e
|
|
# End of lines configured by zsh-newuser-install
|
|
# The following lines were added by compinstall
|
|
zstyle :compinstall filename '/home/ale/.zshrc'
|
|
|
|
autoload -Uz compinit
|
|
compinit
|
|
# End of lines added by compinstall
|
|
|
|
# User configuration
|
|
HISTCONTROL=ignoreboth
|
|
zstyle ':completion:*' matcher-list 'm:{a-z}={A-Za-z}'
|
|
|
|
alias ls='ls --color=auto'
|
|
alias la='ls --color=auto -lAh'
|
|
alias gad='git add .'
|
|
alias gs='git status'
|
|
alias gp='git push'
|
|
alias gco='git commit'
|
|
alias gd='git diff'
|
|
alias rm='rm -i'
|
|
alias mv='mv -i'
|
|
alias open='xdg-open'
|
|
alias buonanotte='sudo poweroff'
|
|
alias progetti='cd $HOME/Documents/projects'
|
|
alias windoze='sudo zzz -R'
|
|
alias bruh='make && sudo make install && make clean'
|
|
alias mdl='ts youtube-dl -i -x --audio-format best --audio-quality 0 -o "%(title)s.%(ext)s"'
|
|
|
|
# Colored man pages with less(1)
|
|
export LESS="--RAW-CONTROL-CHARS"
|
|
export LESS_TERMCAP_mb=$(tput bold; tput setaf 2)
|
|
export LESS_TERMCAP_md=$(tput bold; tput setaf 6)
|
|
export LESS_TERMCAP_me=$(tput sgr0)
|
|
export LESS_TERMCAP_so=$(tput bold; tput setaf 3; tput setab 4)
|
|
export LESS_TERMCAP_se=$(tput rmso; tput sgr0)
|
|
export LESS_TERMCAP_us=$(tput smul; tput bold; tput setaf 7)
|
|
export LESS_TERMCAP_ue=$(tput rmul; tput sgr0)
|
|
export LESS_TERMCAP_mr=$(tput rev)
|
|
export LESS_TERMCAP_mh=$(tput dim)
|
|
export LESS_TERMCAP_ZN=$(tput ssubm)
|
|
export LESS_TERMCAP_ZV=$(tput rsubm)
|
|
export LESS_TERMCAP_ZO=$(tput ssupm)
|
|
export LESS_TERMCAP_ZW=$(tput rsupm)
|
|
export GROFF_NO_SGR=1
|
|
export PATH="$PATH:/home/ale/.local/bin"
|
|
|
|
PROMPT='%(?..[%F{red}%?%f] )%F{green}%n%f:%F{blue}%2~%f %(!.#.$) '
|
|
|
|
# Plugins
|
|
source $HOME/.config/zsh/zsh-autosuggestions/zsh-autosuggestions.zsh
|
|
source $HOME/.config/zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
|
|