Move command-specific aliases sourcing into general aliases

This commit is contained in:
Adam Goldsmith 2018-03-07 14:55:31 -05:00
parent 13a67689df
commit ff0ce7fe92
2 changed files with 10 additions and 10 deletions

View File

@ -15,3 +15,12 @@ alias irc='ssh ag tmux a -t irc'
#quick alias for enabling bluetooth
alias ebluetooth="sudo modprobe btusb;ssy start bluetooth;blueman-manager"
# Command Specific Aliases
for i in $HOME/.aliases/command-specific/*
do
if hash $(basename $i) 2>/dev/null
then
source $i
fi
done

11
.zshrc
View File

@ -19,16 +19,7 @@ antigen bundles <<EOBUNDLES
EOBUNDLES
antigen apply
# Command Specific Aliases
for i in $HOME/.aliases/command-specific/*
do
if hash $(basename $i) 2>/dev/null
then
source $i
fi
done
# General Aliases
# Source aliases
source $HOME/.aliases/general
# Various Options