Move command-specific aliases sourcing into general aliases
This commit is contained in:
parent
13a67689df
commit
ff0ce7fe92
@ -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
11
.zshrc
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user