aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-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