diff options
author | jakobst1n <jakob.stendahl@outlook.com> | 2024-02-12 18:00:19 +0100 |
---|---|---|
committer | jakobst1n <jakob.stendahl@outlook.com> | 2024-02-12 18:00:19 +0100 |
commit | bf5df2e802df4a46378855fd7ef0b0a4979d8c27 (patch) | |
tree | 585452940d94790a10dcce5cd94ffe5d3d1c9b03 /Common/zshrc.m4 | |
parent | da4f994bec2f9a0927195c7bbc84d44f4b8384fb (diff) | |
download | dotfiles-bf5df2e802df4a46378855fd7ef0b0a4979d8c27.tar.gz dotfiles-bf5df2e802df4a46378855fd7ef0b0a4979d8c27.zip |
Improve some config stuff
Diffstat (limited to 'Common/zshrc.m4')
-rw-r--r-- | Common/zshrc.m4 | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/Common/zshrc.m4 b/Common/zshrc.m4 index 2cafd8e..36e2857 100644 --- a/Common/zshrc.m4 +++ b/Common/zshrc.m4 @@ -1,4 +1,3 @@ -m4_include(`system.m4')m4_dnl # Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc. # Initialization code that may require console input (password prompts, [y/n] # confirmations, etc.) must go above this block; everything else may go below. @@ -14,9 +13,9 @@ export KEYTIMEOUT=1 if [ ! -f ~/.dotfiles_env ]; then echo "export ZSH=$HOME/.oh-my-zsh" > ~/.dotfiles_env echo "DEFAULT_USER=$USER" >> ~/.dotfiles_env - echo "export GIT_EDITOR=\"DEFAULT_EDITOR\"" >> ~/.dotfiles_env - echo "export GIT_AUTHOR_NAME=\"GIT_USER\"" >> ~/.dotfiles_env - echo "export GIT_AUTHOR_EMAIL=\"GIT_EMAIL\"" >> ~/.dotfiles_env + echo "export GIT_EDITOR=\"DT_EDITOR\"" >> ~/.dotfiles_env + echo "export GIT_AUTHOR_NAME=\"DT_GIT_USER\"" >> ~/.dotfiles_env + echo "export GIT_AUTHOR_EMAIL=\"DT_GIT_EMAIL\"" >> ~/.dotfiles_env fi # Source env setup file @@ -60,7 +59,7 @@ export LC_ALL=en_US.UTF-8 export LANG=en_US.UTF-8 # Set editor -export EDITOR="DEFAULT_EDITOR" +export EDITOR="DT_EDITOR" # Enable vim keybindings (This is enabled using zsh-vi-mode now. # bindkey -v |