zsh: Include aliases in the current directory
This commit is contained in:
parent
af1d0b4483
commit
2d1a5d682a
|
@ -38,3 +38,6 @@ tmp/
|
||||||
|
|
||||||
# Ignore notes within projects.
|
# Ignore notes within projects.
|
||||||
.notes/
|
.notes/
|
||||||
|
|
||||||
|
# Ignore directory level aliases
|
||||||
|
.aliases
|
||||||
|
|
|
@ -30,3 +30,8 @@ alias pbpaste="xclip -selection clipboard -o"
|
||||||
if [[ -f ~/.aliases.local ]]; then
|
if [[ -f ~/.aliases.local ]]; then
|
||||||
source ~/.aliases.local
|
source ~/.aliases.local
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Open directory aliases
|
||||||
|
if [[ -f $(pwd)/.aliases ]]; then
|
||||||
|
source $(pwd)/.aliases
|
||||||
|
fi
|
||||||
|
|
Loading…
Reference in a new issue