-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6715034
commit 0cf6cd1
Showing
5 changed files
with
223 additions
and
221 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
local home = os.getenv('HOME') | ||
local home = os.getenv 'HOME' | ||
os.setenv('XDG_CONFIG_HOME', string.format([[%s\.config]], home)) | ||
os.setenv('XDG_DATA_HOME', string.format([[%s\.local\share]], home)) | ||
os.setenv('XDG_CACHE_HOME', string.format([[%s\.cache]], home)) | ||
|
||
local config = os.getenv('XDG_CONFIG_HOME') | ||
local config = os.getenv 'XDG_CONFIG_HOME' | ||
os.setenv('STARSHIP_CONFIG', string.format([[%s\starship\starship.toml]], config)) | ||
os.setenv('RIPGREP_CONFIG_PATH', string.format([[%s\ripgrep\config]], config)) | ||
|
||
local path = os.getenv('Path') | ||
local path = os.getenv 'Path' | ||
os.setenv('Path', string.format([[%s;%s\bin]], path, home)) |
Oops, something went wrong.