diff options
| author | srdusr <trevorgray@srdusr.com> | 2025-09-21 02:13:02 +0200 |
|---|---|---|
| committer | srdusr <trevorgray@srdusr.com> | 2025-09-21 02:13:02 +0200 |
| commit | 0dc4b9bd273474d91644a3cfcd99924c58a3ac66 (patch) | |
| tree | 91998c37baff281c006f1f5110e8f86af7408f11 /linux/home | |
| parent | e1091a6b21b04d053fd635ef9519982a30ba9419 (diff) | |
| download | dotfiles-0dc4b9bd273474d91644a3cfcd99924c58a3ac66.tar.gz dotfiles-0dc4b9bd273474d91644a3cfcd99924c58a3ac66.zip | |
Testing
Diffstat (limited to 'linux/home')
| -rw-r--r-- | linux/home/.config/zsh/.zshrc | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/linux/home/.config/zsh/.zshrc b/linux/home/.config/zsh/.zshrc index d86f1e5..480f6f5 100644 --- a/linux/home/.config/zsh/.zshrc +++ b/linux/home/.config/zsh/.zshrc @@ -1,4 +1,3 @@ - # ███████╗███████╗██╗ ██╗██████╗ ██████╗ # ╚══███╔╝██╔════╝██║ ██║██╔══██╗██╔════╝ # ███╔╝ ███████╗███████║██████╔╝██║ @@ -9,8 +8,12 @@ # Profile zsh time #zmodload zsh/zprof + + # If not running interactively, don't do anything -[[ $- != *i* ]] && return +#[[ $- != *i* ]] && return +# If not running interactively, and not being sourced, don’t do anything +[[ $- != *i* ]] && [[ "${BASH_SOURCE[0]:-${(%):-%N}}" == "$0" ]] && return # Terminal key bindings #stty intr '^q' # Free Ctrl+C for copy use Ctrl+Q instead for Interrupt |
