Configure git
for Linux users properly
This commit is contained in:
parent
2c3c5dd888
commit
dce71478e7
|
@ -1,6 +1,7 @@
|
|||
#!/bin/env fish
|
||||
begin
|
||||
set -l dir (status dirname)
|
||||
set -l base "$dir/../../../Common/Software/git/main.fish"
|
||||
source "$dir/../../Scripts/software.fish"
|
||||
|
||||
function installSW
|
||||
|
@ -13,8 +14,12 @@ begin
|
|||
gitflow-zshcompletion-avh
|
||||
end
|
||||
|
||||
function configureSW -V dir
|
||||
fish "$dir/../../../Common/Software/git/main.fish" configure
|
||||
function configureSW -V base
|
||||
fish "$base" configure
|
||||
end
|
||||
|
||||
function userConfig -V base
|
||||
fish "$base" userConfig $argv
|
||||
end
|
||||
|
||||
runInstaller $argv
|
||||
|
|
|
@ -7,7 +7,7 @@ param (
|
|||
. "$PSScriptRoot/../../Scripts/System.ps1";
|
||||
. "$PSScriptRoot/../../Types/InstallerAction.ps1";
|
||||
|
||||
$null = New-Module {
|
||||
& {
|
||||
param(
|
||||
[hashtable] $Parameters
|
||||
)
|
||||
|
|
|
@ -8,7 +8,7 @@ begin
|
|||
end
|
||||
|
||||
function userConfig -S -V dir -a name
|
||||
configureGit "$name"
|
||||
pwsh -CommandWithArgs '& $args[0] ConfigureUser @{ name=$args[1]; }' "$dir/Manage.ps1" $name
|
||||
end
|
||||
|
||||
runInstaller $argv
|
||||
|
|
Loading…
Reference in a new issue