mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-10 02:29:22 +01:00
{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
|
# Aliases RJ706I
|
||||||
# Functions ZGC5QQ
|
# Functions ZGC5QQ
|
||||||
|
|
||||||
|
# lsb_base ?
|
||||||
|
if [ -f /etc/os-release ]; then
|
||||||
|
. /etc/os-release
|
||||||
|
fi
|
||||||
|
|
||||||
##### Defaults etc... M0TZLS #####
|
##### Defaults etc... M0TZLS #####
|
||||||
|
|
||||||
# ~/.bashrc: executed by bash(1) for non-login shells.
|
# ~/.bashrc: executed by bash(1) for non-login shells.
|
||||||
|
5
rc/zshrc
5
rc/zshrc
@ -25,6 +25,11 @@ fi
|
|||||||
# Aliases RJ706I
|
# Aliases RJ706I
|
||||||
# Functions ZGC5QQ
|
# Functions ZGC5QQ
|
||||||
|
|
||||||
|
# lsb_base ?
|
||||||
|
if [ -f /etc/os-release ]; then
|
||||||
|
. /etc/os-release
|
||||||
|
fi
|
||||||
|
|
||||||
# Kind of my welcome screen when I open a terminal?
|
# Kind of my welcome screen when I open a terminal?
|
||||||
# Existence of lsb_release implies both being on Linux and me having touched
|
# 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
|
# the system, so I can do away with a lot of checks for Darwin
|
||||||
|
Loading…
Reference in New Issue
Block a user