aboutsummaryrefslogtreecommitdiff
path: root/.config/shell/.zshrc
diff options
context:
space:
mode:
authorkj-sh6042024-07-17 22:37:16 -0400
committerkj-sh6042024-07-17 22:37:16 -0400
commit70532272be7010f2480f39cf0b9e2038b8cdfef7 (patch)
treed721652d77a7e53efe16c8088b84c90c6dd104c7 /.config/shell/.zshrc
parentfe0f355277b220f304b2e58695349add20741e91 (diff)
refactor: improve readability
Diffstat (limited to '.config/shell/.zshrc')
-rw-r--r--.config/shell/.zshrc5
1 files changed, 2 insertions, 3 deletions
diff --git a/.config/shell/.zshrc b/.config/shell/.zshrc
index 47a0922..d62af2e 100644
--- a/.config/shell/.zshrc
+++ b/.config/shell/.zshrc
@@ -1,3 +1,4 @@
+# personal QOL functions
source_if_exists() {
[ -f "$1" ] && source "$1"
}
@@ -7,15 +8,13 @@ ensure_directory_and_file() {
[ ! -f "$2" ] && touch "$2"
}
-
source_if_exists ~/.config/shell/git-prompt.zsh
source_if_exists ~/.config/shell/git-prompts/kj_sh604.zsh
source_if_exists ~/.config/shell/zsh-autosuggestions/zsh-autosuggestions.zsh
source_if_exists ~/.config/shell/zsh-fast-syntax-highlighting/fast-syntax-highlighting.plugin.zsh
source_if_exists ~/.config/shell/zsh-history-substring-search/zsh-history-substring-search.zsh
-# source_if_exists ~/.config/shell/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
-# Source personal POSIX functions
+# source personal posix functions
source_if_exists ~/.config/shell/posix-functions/create_POSIX_dotenv.sh
source_if_exists ~/.config/shell/posix-functions/POSIX_open.sh