mirror of
https://github.com/lordmathis/dotfiles.git
synced 2025-11-06 01:34:22 +00:00
Use distro specific aliases
This commit is contained in:
8
.zshrc
8
.zshrc
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user