From 4ce841a6d52c41035c0dc52be21e637ca76abc9e Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Fri, 14 Oct 2022 09:34:54 +0200 Subject: Updated zshrc lsb-release -> os-release --- config/zsh/.zshrc | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'config/zsh') diff --git a/config/zsh/.zshrc b/config/zsh/.zshrc index 9d79a25..2144d16 100644 --- a/config/zsh/.zshrc +++ b/config/zsh/.zshrc @@ -105,12 +105,7 @@ export YSU_MESSAGE_POSITION="after" # you-should # install pkgfile package on Arch Linux # run `pkgfile --update` -if [ "$(uname)" = 'Linux' ] && grep -q Arch /etc/lsb-release > /dev/null +if [ "$(uname)" = 'Linux' ] && grep -q Arch /etc/os-release 2> /dev/null then . /usr/share/doc/pkgfile/command-not-found.zsh - if [ -d /opt/ros2/galactic ] - then - export ROS_DOMAIN_ID=42 - . /opt/ros2/galactic/setup.zsh - fi fi -- cgit