-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ensure
$XDG_CONFIG_HOME
exists (#92)
* ensure xdg_config_dir exists and chown homedir contents in case contents are owned by root * define default HISTFILE path
- Loading branch information
Showing
3 changed files
with
17 additions
and
2 deletions.
There are no files selected for viewing
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
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
4 changes: 4 additions & 0 deletions
4
features/src/utils/opt/devcontainer/bin/post-attach-command.sh
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,8 @@ | ||
#! /usr/bin/env bash | ||
|
||
find ~/ -maxdepth 1 -exec bash -c '\ | ||
[ $(stat --format "%U:%G" "{}") != "$(id -u):$(id -g)" ] \ | ||
&& sudo chown -R $(id -u):$(id -g) {}' \; | ||
|
||
. devcontainer-utils-init-git; | ||
. devcontainer-utils-vault-s3-init; |