Files
dotfiles/.config/zsh/user.zsh

36 lines
1.6 KiB
Bash

#  Startup 
# Commands to execute on startup (before the prompt is shown)
# Check if the interactive shell option is set
if [[ $- == *i* ]]; then
# This is a good place to load graphic/ascii art, display system information, etc.
if command -v pokego >/dev/null; then
pokego --no-title -r 1,3,6
elif command -v pokemon-colorscripts >/dev/null; then
pokemon-colorscripts --no-title -r 1,3,6
elif command -v fastfetch >/dev/null; then
if do_render "image"; then
fastfetch --logo-type kitty
fi
fi
fi
#  Plugins 
# manually add your oh-my-zsh plugins here
plugins=(
"sudo"
)
#  Overrides 
# unset HYDE_ZSH_NO_PLUGINS # Set to 1 to disable loading of oh-my-zsh plugins, useful if you want to use your zsh plugins system
# unset HYDE_ZSH_PROMPT # Uncomment to unset/disable loading of prompts from HyDE and let you load your own prompts
# HYDE_ZSH_COMPINIT_CHECK=1 # Set 24 (hours) per compinit security check // lessens startup time
# HYDE_ZSH_OMZ_DEFER=1 # Set to 1 to defer loading of oh-my-zsh plugins ONLY if prompt is already loaded
# Aliases
# alias l='eza -1h --icons=auto --sort=name --group-directories-first' # long list
# alias ls='eza -l --icons=auto --sort=name --group-directories-first' # short list
# alias ll='eza -lha --icons=auto --sort=name --group-directories-first' # long list all
# alias дд='eza -lha --icons=auto --sort=name --group-directories-first' # sometimes i forget to change keyboard layout
# alias startwayvnc='wayvnc 100.108.196.99 > /dev/null 2>&1 & | disown'
# alias killwayvnc='killall wayvnc'