Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Amanda Cameron
Chezmoi Config
Commits
7f397a14
Commit
7f397a14
authored
Oct 03, 2019
by
Amanda Cameron
Browse files
Update
parent
2adc624b
Changes
3
Hide whitespace changes
Inline
Side-by-side
private_dot_config/powershell/private_Microsoft.PowerShell_profile.ps1.tmpl
View file @
7f397a14
$global:DDNA_GITLAB = [pscredential]::new("AuthToken", (ConvertTo-SecureString -AsPlainText -Force (Get-Content ~/.gitlab-token)))
function ConvertTo-PSObject {
...
...
@@ -38,6 +37,10 @@ function Get-StationeersChangelog {
}
}
{{ if .programs.plan9port }}
Set-Alias -Name nine -Value 9
{{ end }}
{{ if and (index . "directories" "nextcloud") (index . "programs" "calibre") (index . "directories" "code") -}}
#region Manga Utils
...
...
@@ -183,7 +186,7 @@ function Import-Manga {
-CurrentOperation ("Importing Volume {0}" -f $_.Name)
Import-Book `
-Library 'http://
localhost:808
2/' `
-Library 'http
s
://
camnas.darkdna.net:900
2/' `
-Files $EPub `
-Title ("{0} - Volume {1}" -f $Name, $_.Name) `
-Authors $Authors `
...
...
@@ -212,7 +215,7 @@ function Import-Manga {
if ($PSCmdlet.ShouldProcess($_.File.Name, "Import Chapter")) {
"Adding {0}" -f $_.File.FullName
Import-Book `
-Library 'http://
localhost:808
2/' `
-Library 'http
s
://
camnas.darkdna.net:900
2/' `
-Files $EPub `
-Title ('{1} - V{2}C{3}: {0}' -f $_.Name, $Name, $_.Volume, $_.Chapter) `
-Authors $Authors `
...
...
@@ -337,7 +340,7 @@ function Import-WebBook {
if ($PSCmdlet.ShouldProcess($Title, "Import Book")) {
Import-Book @InsertArgs `
-Library 'http://
localhost:808
2/' `
-Library 'http
s
://
camnas.darkdna.net:900
2/' `
-DuplicateAction $DuplicateAction `
-Title $Title `
-Files @($OutputEPub)
...
...
@@ -426,7 +429,6 @@ Get-Command -Module 1Password -Verb Get | ForEach-Object {
$PSDefaultParameterValues["Install-Module:Scope"] = "CurrentUser"
Import-Module PSReadline
Import-Module posh-git
...
...
private_dot_gnupg/config.tmpl
0 → 100644
View file @
7f397a14
{{- if (index . "programs" "gpg-pinentry") -}}
{{ $pinentry := (index . "programs" "gpg-pinentry") -}}
pinentry-program {{ $pinentry }}
{{ end -}}
\ No newline at end of file
private_dot_profile.tmpl
View file @
7f397a14
...
...
@@ -9,23 +9,28 @@ export PATH="$HOME/.cargo/bin:$PATH"
{{ if index . "programs" "vscode" -}}
# VSCode Stuff
export EDITOR="vscode-wait"
{{
-
end }}
{{ end
-
}}
{{ if index . "directories" "code" -}}
# Code Stuff
export GOPATH="{{ .directories.code }}/go"
export PATH="$PATH:{{ .directories.code }}/DarkDNA/manifest/bin:{{ .directories.code }}/go/bin:{{ .directories.code }}/github/flutter/flutter/bin"
{{
-
end }}
{{ end
-
}}
{{ if index . "directories" "android-sdk" -}}
{{ $sdk := index . "directories" "android-sdk" -}}
# Android SDK Stuff
export ANDROID_HOME="$sdk/"
export PATH="$PATH:$sdk/platform-tools:$sdk/tools"
{{- end }}
{{ end -}}
{{ if index . "directories" "nextcloud" -}}
# Nextcloud Desktop Integration
export XDG_MUSIC_DIR={{.directories.nextcloud}}/Music
{{ end -}}
{{ if index . "programs" "linuxbrew" -}}
# LinuxBrew stuff.
export PATH="$PATH:{{ .programs.linuxbrew }}/bin"
eval $(brew shellenv)
{{- end }}
\ No newline at end of file
{{ end -}}
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment