mirror of
https://github.com/frebib/dotfiles.git
synced 2024-06-14 12:57:23 +00:00
aliases: fix 'dotfiles' and 'aliases' alias
After moving dotfiles around, these aliases became out of sync. Dynamically detect the path of the 'aliases' file, and set 'dotfiles' to use the XDG config directory. Signed-off-by: Joe Groocock <me@frebib.net>
This commit is contained in:
@ -151,13 +151,6 @@ ZSH_HIGHLIGHT_STYLES[redirection]='fg=cyan,bold'
|
||||
|
||||
source "$XDG_CONFIG_HOME/aliases"
|
||||
|
||||
# Source secret keys and values into environment
|
||||
if [ -f "$XDG_CONFIG_HOME/secrets" ]; then
|
||||
set -o allexport
|
||||
source $XDG_CONFIG_HOME/secrets
|
||||
set +o allexport
|
||||
fi
|
||||
|
||||
# Load some manual plugins
|
||||
source "$ZSH_DIR/plugins/sudo.zsh"
|
||||
source "$ZSH_DIR/plugins/fish-theme.zsh"
|
||||
|
Reference in New Issue
Block a user