#!/bin/bash ## [Alias] # shellcheck disable=SC1090,SC1091,SC2034,SC2154 #--------------- # Fullyclean #--------------- alias ac='clean && clear' #----------------- # Theme Selection #----------------- HYPERTERM_THEME="default" # Load only selected theme - optimized for speed if [[ -f "$HOME/.hyperterm/themes/${HYPERTERM_THEME}.sh" ]]; then source "$HOME/.hyperterm/themes/${HYPERTERM_THEME}.sh" case "$HYPERTERM_THEME" in "default") prompt="${default}" ;; "joy") prompt="${joy}" ;; "light_theme") prompt="${light_theme}" ;; "minterm") prompt="${minterm}" ;; "pure") prompt="${pure}" ;; "simple") prompt="${simple}" ;; "special") prompt="${special}" ;; esac fi #------- # Tools #------- # Uncomment only the tools you actually use for faster loading HYPERTERM_TOOLS=( "compress" # Archive extractor (ex function for .tar, .zip, .rar, etc) # "export" # Export functions and environment variables # "listuser" # User listing and management utilities "network" # IP detection and network info functions # "proxy" # Proxy configuration helpers # "rar2zip" # RAR to ZIP conversion utilities # "ruby" # Ruby development environment setup "ssh-agent" # SSH key and agent management # "sysinfo" # System information display functions # "virtualenv" # Python virtual environment tools # "vconverter" # Video conversion utilities ) # Load only selected tools for tool in "${HYPERTERM_TOOLS[@]}"; do [[ -f "$HOME/.hyperterm/tools/${tool}.sh" ]] && source "$HOME/.hyperterm/tools/${tool}.sh" done #--------------- # Screenfetch #--------------- if command -v screenfetch &> /dev/null; then screenfetch; else true; fi #--------------- # PKGFILE #--------------- if [[ -f /usr/share/doc/pkgfile/command-not-found.bash ]]; then source /usr/share/doc/pkgfile/command-not-found.bash; else true; fi #--------------- # Trash-cli #--------------- # if command -v trash &> /dev/null; then alias rm='echo "This is not the command you are looking for."; false'; else true; fi # Then, if you really want to use rm, simply prepend a slash to bypass the alias: # \rm file-without-hope #----------- # TTY GNUPG #----------- # export GPG_TTY=$(tty)