aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Cabergs <me@cacharle.xyz>2022-10-14 09:34:54 +0200
committerCharles Cabergs <me@cacharle.xyz>2022-10-14 09:34:54 +0200
commit4ce841a6d52c41035c0dc52be21e637ca76abc9e (patch)
tree70577fb07641d827b379abb9f43caf4d95e4c554
parent4773d1bdff1d081fc0abe91c821e9e81c81cd855 (diff)
downloaddotfiles-4ce841a6d52c41035c0dc52be21e637ca76abc9e.tar.gz
dotfiles-4ce841a6d52c41035c0dc52be21e637ca76abc9e.tar.bz2
dotfiles-4ce841a6d52c41035c0dc52be21e637ca76abc9e.zip
Updated zshrc lsb-release -> os-release
-rw-r--r--config/zsh/.zshrc7
1 files changed, 1 insertions, 6 deletions
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