This repository contains configuration files that I don't want to have to lose so I'm putting them under version control.
The easiest install is to download the release for your operating system and architecture and run it.
export VERSION=1.2.0
curl -fsSL https://github.com/shakefu/home/releases/download/v${VERSION}/home-v${VERSION}-darwin-amd64.tar.gz | tar xz > home
./home setup
Alternatively, you can clone this repository, and then run the home.go
command to install everything.
git clone https://github.com/shakefu/home.git
cd home
go run home.go setup
- oh-my-zsh - zsh plugin manager and framework
- powerlevel10k - super configurable zsh prompt theme
- zsh-autosuggestions - nice and convenient prompt completion
- zsh-syntax-highlighting - awesome colorized prompt syntax with error highlighting
- exa - Better ls
- thefuck - Autofix commands
- fd - Better find
- Pathogen - We would add this as a
subtree but it conflicts with the existing .vim path
- src -
To be used with
curl [src] > .vim/autoload/pathogen.vim
.
- src -
To be used with
- ProjectRoot - Handy switching the current working directory
- CtrlP - Easily open files within the current project
- Jedi Vim - Awesome Python autocompletion
- Dockerfile.vim - Syntax highlighting for Dockerfiles
- Tabmerge - Merging tabs made easy
- Supertab - Awesome tab completion
- YAJS - ES6 syntax highlighting and more
- SwitchResX - Allow Mac to use nonstandard resolutions
- MAS - Mac app store CLI
import "home"
- func CliCopyFiles(args *CliArgs)
- func CliInstall(args *CliArgs, names ...string)
- func CliStatus(args *CliArgs, names ...string)
- func Run(command string) int
- func RunCommand(argv []string) int
- func Targets(args *CliArgs, names *[]string) (map[string]bool, []string)
- type CliArgs
- type Script
func CliCopyFiles
func CliCopyFiles(args *CliArgs)
func CliInstall
func CliInstall(args *CliArgs, names ...string)
CliInstall runs all the embedded install scripts or exit. This will run all the install scripts, or a specified list of script names. If there is an error with any script it will exit this process.
func CliStatus
func CliStatus(args *CliArgs, names ...string)
func Run
func Run(command string) int
Run invokes a subprocess command from a string using shell splitting.
func RunCommand
func RunCommand(argv []string) int
RunCommand a subprocess command from a tokenized array of string arguments.
func Targets
func Targets(args *CliArgs, names *[]string) (map[string]bool, []string)
Targets returns a map and a deduplicated slice of all the names given.
type CliArgs
type CliArgs struct {
// Options
DryRun bool
Upgrade bool
Debug bool
Color string
// Args
Command string
Os string
Arch string
Names []string
}
type Script
type Script struct {
// contains filtered or unexported fields
}
func (*Script) Run
func (script *Script) Run(args ...string) (int, error)
func (*Script) RunOrExit
func (script *Script) RunOrExit(args ...string) int
Generated by gomarkdoc