Skip to content

Commit

Permalink
style: format with stylua
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jan 23, 2022
1 parent 6715034 commit 0cf6cd1
Show file tree
Hide file tree
Showing 5 changed files with 223 additions and 221 deletions.
2 changes: 1 addition & 1 deletion home/AppData/Local/clink/aliases.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
local doskey = function (lhs, rhs, opts)
local doskey = function(lhs, rhs, opts)
opts = opts or '$*'
os.execute(string.format('doskey %s=%s %s', lhs, rhs, opts))
end
Expand Down
6 changes: 3 additions & 3 deletions home/AppData/Local/clink/env.lua
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))
Loading

0 comments on commit 0cf6cd1

Please sign in to comment.