# HG changeset patch # User Dirk Olmes # Date 1585963061 -7200 # Node ID 2cc8820caae0097dacd0929d3149607e6585a111 # Parent 75e3f2d8368ca9686b9fe2cdfef7ef6930dc791c extend the distribution detection mechanism diff -r 75e3f2d8368c -r 2cc8820caae0 zshrc-debian --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/zshrc-debian Sat Apr 04 03:17:41 2020 +0200 @@ -0,0 +1,5 @@ +# +# zshrc-debian: Debian specific initialization +# + +# custom functions for Debian diff -r 75e3f2d8368c -r 2cc8820caae0 zshrc-linux-gnu --- a/zshrc-linux-gnu Sat Apr 04 03:15:18 2020 +0200 +++ b/zshrc-linux-gnu Sat Apr 04 03:17:41 2020 +0200 @@ -16,6 +16,8 @@ linux_distro="gentoo" elif [ -f /etc/centos-release ]; then linux_distro="centos" +elif [ -d /etc/apt ]; then + linux_distro="debian" fi # now source the distro zshrc file if it exists