updated sparrow config; updated magefiles
This commit is contained in:
parent
26f85a6778
commit
5f07ee6209
3 changed files with 18 additions and 12 deletions
|
@ -1,8 +1,7 @@
|
||||||
{
|
{
|
||||||
"bashProfile": {
|
"bashProfile": {
|
||||||
"manage": true,
|
"manage": true,
|
||||||
"filename": ".bash_profile",
|
"filename": ".bashrc",
|
||||||
"aliases": {},
|
|
||||||
"commands": [
|
"commands": [
|
||||||
{
|
{
|
||||||
"command": "shopt -s histappend",
|
"command": "shopt -s histappend",
|
||||||
|
@ -11,20 +10,22 @@
|
||||||
{
|
{
|
||||||
"command": "set -o vi",
|
"command": "set -o vi",
|
||||||
"description": "Activate vi mode."
|
"description": "Activate vi mode."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command": "eval \"$(SHELL=/bin/sh lesspipe.sh)\"",
|
||||||
|
"description": "Make less more friendly for non-text input files"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"environmentVariables": {},
|
|
||||||
"sessionPaths": [
|
"sessionPaths": [
|
||||||
{
|
|
||||||
"path": ".local/goblin",
|
|
||||||
"description": "the directory of go binaries"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"path": "Applications",
|
"path": "Applications",
|
||||||
"description": "the AppImage directory"
|
"description": "the AppImage directory"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": ".local/goblin",
|
||||||
|
"description": "the directory of go binaries"
|
||||||
}
|
}
|
||||||
],
|
]
|
||||||
"xdgDirectories": {}
|
|
||||||
},
|
},
|
||||||
"directories": {
|
"directories": {
|
||||||
"useDefaultDirectories": true,
|
"useDefaultDirectories": true,
|
||||||
|
|
|
@ -9,8 +9,8 @@ import (
|
||||||
"text/template"
|
"text/template"
|
||||||
)
|
)
|
||||||
|
|
||||||
// BashProfile manages the user's Bash Profile using their configuration and the Bash Profile template.
|
// Bashprofile manages the user's Bash Profile using their configuration and the Bash Profile template.
|
||||||
func BashProfile() error {
|
func Bashprofile() error {
|
||||||
const (
|
const (
|
||||||
bashProfileTemplateFile string = "bash/profile.gotmpl"
|
bashProfileTemplateFile string = "bash/profile.gotmpl"
|
||||||
managedBashProfile string = "managed/bash_profile"
|
managedBashProfile string = "managed/bash_profile"
|
||||||
|
|
|
@ -8,7 +8,12 @@ var Default = Manage
|
||||||
|
|
||||||
// Manage runs all the management tasks.
|
// Manage runs all the management tasks.
|
||||||
func Manage() error {
|
func Manage() error {
|
||||||
mg.Deps(Directories, Files, Templates)
|
mg.Deps(
|
||||||
|
Bashprofile,
|
||||||
|
Directories,
|
||||||
|
Files,
|
||||||
|
Templates,
|
||||||
|
)
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue