From 0d832eea3147251ceffcd620a637cb2f92bf66f8 Mon Sep 17 00:00:00 2001 From: Johannes Loher Date: Mon, 14 Sep 2020 11:04:00 +0200 Subject: [PATCH] generalize zshrc --- .zshrc.local | 8 ++++---- .zshrc.pre | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.zshrc.local b/.zshrc.local index 2ad6884..1219b75 100644 --- a/.zshrc.local +++ b/.zshrc.local @@ -6,7 +6,7 @@ export BROWSER=/usr/bin/firefox alias ls='ls --color=auto' # Colors -eval `dircolors ~/.dir_colors` +eval `dircolors $HOME/.dir_colors` # Prompt autoload -U colors zsh/terminfo @@ -25,7 +25,7 @@ zstyle ':prompt:grml:left:items:percent' token '%(!.#.>) ' zstyle ':prompt:grml:right:items:sad-smiley' token '' # Scripts -export PATH="/home/loherj/.local/bin:$PATH" +export PATH="$HOME/.local/bin:$PATH" # Completions @@ -41,5 +41,5 @@ fi #THIS MUST BE AT THE END OF THE FILE FOR SDKMAN TO WORK!!! -export SDKMAN_DIR="/home/loherj/.sdkman" -[[ -s "/home/loherj/.sdkman/bin/sdkman-init.sh" ]] && source "/home/loherj/.sdkman/bin/sdkman-init.sh" +export SDKMAN_DIR="$HOME/.sdkman" +[[ -s "$HOME/.sdkman/bin/sdkman-init.sh" ]] && source "$HOME/.sdkman/bin/sdkman-init.sh" diff --git a/.zshrc.pre b/.zshrc.pre index 4dbed40..d449586 100644 --- a/.zshrc.pre +++ b/.zshrc.pre @@ -1 +1 @@ -fpath=($fpath ~/.completion) \ No newline at end of file +fpath=($fpath $HOME/.completion) \ No newline at end of file