mirror of
https://git.decapod.one/brethil/dotfiles
synced 2024-11-22 03:21:30 +01:00
zsh: cleanup aliases sourcing
This commit is contained in:
parent
fc4972dab3
commit
85381436cf
10
aliases.zsh
10
aliases.zsh
|
@ -88,13 +88,3 @@ alias dst='dvc status'
|
|||
alias dstc='dvc status --cloud'
|
||||
alias drp='dvc repro'
|
||||
alias drps='dvc repro -s'
|
||||
|
||||
# dotfiles user aliases
|
||||
if [[ -f ~/.dotfiles_aliases ]]; then
|
||||
source $HOME/.dotfiles_aliases
|
||||
fi
|
||||
|
||||
# source ssh aliases
|
||||
if [[ -f $HOME/.ssh_aliases ]]; then
|
||||
source $HOME/.ssh_aliases
|
||||
fi
|
||||
|
|
|
@ -94,6 +94,7 @@ source $DOTFILES/aliases.zsh
|
|||
# Extras
|
||||
functions_file=~/.dotfiles_functions
|
||||
aliases_file=~/.dotfiles_aliases
|
||||
ssh_file=~/.ssh_aliases
|
||||
|
||||
( # migration of old format
|
||||
if [[ -f ${functions_file}.sh ]]; then
|
||||
|
@ -109,6 +110,7 @@ aliases_file=~/.dotfiles_aliases
|
|||
# Source extras
|
||||
test -f "${functions_file}" && source "${functions_file}"
|
||||
test -f "${aliases_file}" && source "${aliases_file}"
|
||||
test -f "${ssh_file}" && source "${ssh_file}"
|
||||
|
||||
### SETUP PATHS ####
|
||||
export PATH=$PATH:$HOME/bin
|
||||
|
|
|
@ -352,8 +352,3 @@ make_venv(){
|
|||
fi
|
||||
|
||||
}
|
||||
|
||||
# # dotfiles user functions
|
||||
# if [[ -f $HOME/.dotfiles_functions ]]; then
|
||||
# source "$HOME/.dotfiles_functions"
|
||||
# fi
|
||||
|
|
Loading…
Reference in New Issue
Block a user