From e73d487c6e9b3dacbf18a979f593c1c20539e459 Mon Sep 17 00:00:00 2001 From: Alen Date: Sat, 23 Sep 2023 23:41:59 +0400 Subject: Move $ZDOTDIR to ~/.config/zsh --- dot_config/zsh/dot_zshrc | 12 ++++++++++++ dot_config/zsh/empty_dot_zlogin | 0 dot_config/zsh/empty_dot_zlogout | 0 dot_config/zsh/empty_dot_zprofile | 0 dot_config/zsh/symlink_dot_zshenv | 1 + 5 files changed, 13 insertions(+) create mode 100644 dot_config/zsh/dot_zshrc create mode 100644 dot_config/zsh/empty_dot_zlogin create mode 100644 dot_config/zsh/empty_dot_zlogout create mode 100644 dot_config/zsh/empty_dot_zprofile create mode 100644 dot_config/zsh/symlink_dot_zshenv (limited to 'dot_config/zsh') diff --git a/dot_config/zsh/dot_zshrc b/dot_config/zsh/dot_zshrc new file mode 100644 index 0000000..13b626a --- /dev/null +++ b/dot_config/zsh/dot_zshrc @@ -0,0 +1,12 @@ +# Set up nice and lengthy history +export HISTFILE="${ZDOTDIR:-$HOME}/.zsh_history" +export HISTSIZE=1000000 +export SAVEHIST=1000000 + +# Simple prompt +PROMPT="%F{15}%K{4}%n@%M:%~%f%k " +RPROMPT="%(?.%F{10}%?.%F{9}%?)%f %T" + +# Just do a simple compinit for now +autoload -U compinit +compinit diff --git a/dot_config/zsh/empty_dot_zlogin b/dot_config/zsh/empty_dot_zlogin new file mode 100644 index 0000000..e69de29 diff --git a/dot_config/zsh/empty_dot_zlogout b/dot_config/zsh/empty_dot_zlogout new file mode 100644 index 0000000..e69de29 diff --git a/dot_config/zsh/empty_dot_zprofile b/dot_config/zsh/empty_dot_zprofile new file mode 100644 index 0000000..e69de29 diff --git a/dot_config/zsh/symlink_dot_zshenv b/dot_config/zsh/symlink_dot_zshenv new file mode 100644 index 0000000..05e498d --- /dev/null +++ b/dot_config/zsh/symlink_dot_zshenv @@ -0,0 +1 @@ +../../.zshenv -- cgit 1.4.1-2-gfad0