From 07d2fa4303e7606b4cfc06d90362a0ea284f316a Mon Sep 17 00:00:00 2001
From: PowerUser64 <blakelysnorth@gmail.com>
Date: Sun, 24 Oct 2021 11:41:07 -0700
Subject: [PATCH] zsh: new alias (rce)

---
 .zshrc | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/.zshrc b/.zshrc
index cba1681..cf91bae 100644
--- a/.zshrc
+++ b/.zshrc
@@ -103,7 +103,7 @@
 
    alias tm='tmux new -As0' # open a new session called 0, but if there is already a session called 0, connect to it
 
-   # List avalible X displays. Useful for finding what display to export when connected over ssh.
+   # List available X displays. Useful for finding what display to export when connected over ssh.
    alias lsx='ls /tmp/.X11-unix | tr "X" ":"'
 
    # Edit config files
@@ -135,6 +135,12 @@
    # backs up list of packages
    alias packback='comm -23 <(paru -Qqett | sort) <(paru -Qqg base -g base-devel | sort | uniq) > ~/pkglist.txt'
 
+   # thoroughly reset the terminal
+   alias rce='reset && clear && exec zsh'
+
+   # find pretty much any file, quickly
+   alias fds='fd --hidden --exclude /run'
+
    # smart plug things
    SMART_PLUG_IP='192.168.1.250'
    alias l='tplink_smartplug.py -t $SMART_PLUG_IP -c'
@@ -145,9 +151,6 @@
       ll='ls -lh' \
       lla='ls -lah' \
 
-   # find pretty much any file, quickly
-   alias fds='fd --hidden --exclude /run'
-
    # <<<
    # optionally source an external alias file
    [ -f "${XDG_CONFIG_HOME:-$HOME/.config}/shell/aliasrc" ] && source "${XDG_CONFIG_HOME:-$HOME/.config}/shell/aliasrc"