From bfcc543e6586e8c82fc11c9cf4888605ed32cb97 Mon Sep 17 00:00:00 2001 From: Evan Pratten Date: Thu, 19 Oct 2023 11:20:21 -0400 Subject: [PATCH] fix reload commands --- configs/shells/bash/macros.sh | 2 +- configs/shells/zsh/macros.sh | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/configs/shells/bash/macros.sh b/configs/shells/bash/macros.sh index 46160f1..0f5e54b 100644 --- a/configs/shells/bash/macros.sh +++ b/configs/shells/bash/macros.sh @@ -9,7 +9,7 @@ alias la="ls -a" alias :q="exit" alias :wq="exit" alias cls=clear -alias zshreload="source ~/.zshrc" +alias bashreload="source ~/.bashrc" alias wg-easykeys="wg genkey | tee >(wg pubkey)" alias nvim-tmp="nvim $(mktemp)" alias flush-dns="sudo systemd-resolve --flush-caches" diff --git a/configs/shells/zsh/macros.sh b/configs/shells/zsh/macros.sh index d043a99..22a53f6 100644 --- a/configs/shells/zsh/macros.sh +++ b/configs/shells/zsh/macros.sh @@ -1,6 +1,9 @@ # We are compatible with bash, so first load the bash-specific macros . $EWCONFIG_ROOT/configs/shells/bash/macros.sh +# Aliases +alias zshreload="source ~/.zshrc" + # Search for a process proc-grep() { if [ $# != 1 ]; then