# Export colors export TERM=xterm-256color # Colors and prompt autoload -U colors && colors PS1='%B %F{245}m%f in %F{088}%f%~ %F{245}$ %f' # History Files HISTFILE=~/.cache/zsh/histfile HISTSIZE=1000 SAVEHIST=1000 zstyle :compinstall filename '/home/monoblanco/.config/zsh/.zshrc' autoload -Uz compinit zstyle ':completion:*' menu select zmodload zsh/complist compinit _comp_options+=(globdots) # Syntax Highlighting source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.plugin.zsh # Autosuggestions source ~/.config/zsh/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh # Alias generales alias ytsong="yt-dlp -x --audio-format mp3 -o '$HOME/stf/music/%(title)s.%(ext)s'" alias rm="rm -i" alias hdmion="xrandr --output HDMI-1 --mode 1360x768 --left-of DVI-D-1 && source '$HOME/.config/feh/.fehbg' && i3-msg restart" alias hdmioff="xrandr --output HDMI-1 --off && source '$HOME/.config/feh/.fehbg' && i3-msg restart" alias fmpv="setsid -f mpv" alias ll="ls -lA" alias vim="nvim" alias vps="ssh root@drainerdomain.xyz" alias t="todo.sh" # Home clean alias wget='wget --hsts-file="$XDG_CACHE_HOME/wget-hsts"' alias monerod='monerod --data-dir "$XDG_DATA_HOME"/bitmonero' alias gpg2='gpg2 --homedir "$XDG_DATA_HOME"/gnupg' # VIM TREE alias vimweb="nvim ~/stf/webdev" # Alias cfg alias ci3="vim $HOME/.config/i3/config" alias cpicom="vim $HOME/.config/picom.conf" alias cdunst="vim $HOME/.config/dunst/dunstrc" alias cmpd="vim $HOME/.config/mpd/mpd.conf" alias cmpv="vim $HOME/.config/mpv/mpv.conf" alias cncmp="vim $HOME/.config/ncmpcpp/config" alias cnewsu="vim $HOME/.config/newsboat/urls" alias cnews="vim $HOME/.config/newsboat/config" alias cpoly="vim $HOME/.config/polybar/cuts/config.ini" alias czsh="vim $HOME/.config/zsh/.zshrc" # One-time-neofetch [ $(pidof st | wc -w) -lt 2 ] && neofetch # Import colorscheme from 'wal' asynchronously # & # Run the process in the background. # ( ) # Hide shell job control messages. # Not supported in the "fish" shell. # (cat ~/.cache/wal/sequences &) # Alternative (blocks terminal for 0-3ms) # cat ~/.cache/wal/sequences # To add support for TTYs this line can be optionally added. source ~/.cache/wal/colors-tty.sh # Import the colors. . "${HOME}/.cache/wal/colors.sh" # Create the alias. alias dmen='dmenu_run -nb "$color0" -nf "$color15" -sb "$color1" -sf "$color15" -fn "Iosevka-11"'