Created
January 10, 2021 12:56
-
-
Save nxtr/0715d0fc6ab163b7b03efce22445e934 to your computer and use it in GitHub Desktop.
Chrome OS, Crostini, Sommelier: Import environment from ~/.bash_profile and ~/.profile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright 2020 The Chromium OS Authors. All rights reserved. | |
# Use of this source code is governed by a BSD-style license that can be | |
# found in the LICENSE file. | |
# | |
# Use this file to customize per-user sommelier options. | |
# | |
# For documentation, see: | |
# https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/vm_tools/sommelier/ | |
# Import environment from ~/.bash_profile and ~/.profile | |
env -i $(systemctl --user show-environment) bash --norc -l -c 'systemctl --user import-environment $(compgen -e)' | |
# Set default X resources at startup. | |
if [ -f ~/.Xresources ]; then | |
xrdb -merge ~/.Xresources | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment