{bash,zsh}rc: load /etc/os-release if it exists
This commit is contained in:
parent
90c83db612
commit
aa3e5422d9
|
@ -25,6 +25,11 @@ fi
|
|||
# Aliases RJ706I
|
||||
# Functions ZGC5QQ
|
||||
|
||||
# lsb_base ?
|
||||
if [ -f /etc/os-release ]; then
|
||||
. /etc/os-release
|
||||
fi
|
||||
|
||||
##### Defaults etc... M0TZLS #####
|
||||
|
||||
# ~/.bashrc: executed by bash(1) for non-login shells.
|
||||
|
|
5
rc/zshrc
5
rc/zshrc
|
@ -25,6 +25,11 @@ fi
|
|||
# Aliases RJ706I
|
||||
# Functions ZGC5QQ
|
||||
|
||||
# lsb_base ?
|
||||
if [ -f /etc/os-release ]; then
|
||||
. /etc/os-release
|
||||
fi
|
||||
|
||||
# Kind of my welcome screen when I open a terminal?
|
||||
# Existence of lsb_release implies both being on Linux and me having touched
|
||||
# the system, so I can do away with a lot of checks for Darwin
|
||||
|
|
Loading…
Reference in New Issue