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
|
#quick alias for enabling bluetooth
|
||||||
alias ebluetooth="sudo modprobe btusb;ssy start bluetooth;blueman-manager"
|
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
|
EOBUNDLES
|
||||||
antigen apply
|
antigen apply
|
||||||
|
|
||||||
# Command Specific Aliases
|
# Source aliases
|
||||||
for i in $HOME/.aliases/command-specific/*
|
|
||||||
do
|
|
||||||
if hash $(basename $i) 2>/dev/null
|
|
||||||
then
|
|
||||||
source $i
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
# General Aliases
|
|
||||||
source $HOME/.aliases/general
|
source $HOME/.aliases/general
|
||||||
|
|
||||||
# Various Options
|
# Various Options
|
||||||
|
Loading…
x
Reference in New Issue
Block a user