Making aliases work, that relay on oh-my-zsh plugins
This commit is contained in:
15
.zshrc
15
.zshrc
@@ -1,7 +1,6 @@
|
||||
################ DO NOT MODIFY THIS FILE #######################
|
||||
|
||||
################################################################
|
||||
|
||||
################# DO NOT MODIFY THIS FILE #######################
|
||||
####### PLACE YOUR CONFIGS IN ~/.config/ezsh/zshrc FOLDER #######
|
||||
#################################################################
|
||||
|
||||
# This file is created by ezsh setup.
|
||||
# Place all your .zshrc configurations / overrides in a single or multiple files under ~/.config/ezsh/zshrc/ folder
|
||||
@@ -11,7 +10,6 @@
|
||||
# Load ezsh configurations
|
||||
source "$HOME/.config/ezsh/ezshrc.zsh"
|
||||
|
||||
|
||||
# Any zshrc configurations under the folder ~/.config/ezsh/zshrc/ will override the default ezsh configs.
|
||||
# Place all of your personal configurations over there
|
||||
ZDOTDIR="$HOME/.config/ezsh/zshrc"
|
||||
@@ -21,3 +19,10 @@ if [ "$(ls -A $ZDOTDIR)" ]; then
|
||||
source "$file"
|
||||
done
|
||||
fi
|
||||
|
||||
# Now source oh-my-zsh.sh so that any plugins added in ~/.config/ezsh/zshrc/* files also get loaded
|
||||
source $ZSH/oh-my-zsh.sh
|
||||
|
||||
|
||||
# Configs that can only work after "source $ZSH/oh-my-zsh.sh", such as Aliases that depend oh-my-zsh plugins
|
||||
alias k="k -h" # show human readable file sizes, in kb, mb etc
|
||||
|
||||
Reference in New Issue
Block a user