Use distro specific aliases

This commit is contained in:
2023-02-04 20:58:06 +01:00
parent 40af373639
commit 6b7228e0bc
5 changed files with 13 additions and 5 deletions

8
.zshrc
View File

@@ -23,6 +23,14 @@ if [ $TILIX_ID ] || [ $VTE_VERSION ]; then
source /etc/profile.d/vte.sh
fi
# Distro specific aliases
DISTRO=`cat /etc/os-release | grep ^ID= | cut -f2 -d'='`
if [ "$DISTRO" = 'arch' ]; then
source .aliases_arch
else
source .aliases_ubuntu
fi
# Conda
__conda_setup="$('/home/matus/bin/anaconda3/bin/conda' 'shell.bash' 'hook' 2> /dev/null)"
if [ $? -eq 0 ]; then